but represents another line of script
> From: dcarl...@tamu.edu > To: aprendizprog...@hotmail.com; r-help@r-project.org > Subject: RE: [R] error type > Date: Sun, 26 Aug 2012 16:12:50 -0500 > > Look at your plot command. You included type="o" twice. > > ---------------------------------------------- > David L Carlson > Associate Professor of Anthropology > Texas A&M University > College Station, TX 77843-4352 > > > > -----Original Message----- > > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > > project.org] On Behalf Of aprendiz programa > > Sent: Sunday, August 26, 2012 4:02 PM > > To: r-help@r-project.org > > Subject: [R] error type > > > > > > Hi, > > I am trying plot a grafic but generates an error: > > Erro em plot.default(xlim, ylim, type = "n", ann = FALSE, axes = FALSE, > > : argumento formal "type" corresponde a mzltiplos argumentos > > especificados > > DATA: > > 44 40 39 38 0 7 7 1030 57 37 5146 40 41 4737 34 36 2636 28 33 3738 > > 26 28 2742 38 36 3636 27 22 2853 43 33 40 > > plot(dados[1],type="o",pch=21, > > axes=FALSE,xlab="year",ylab="cases")lines(dados[2], type="o", > > pch=22)lines(dados[3], type="o",pch=23)lines(dados[4], > > type="o",pch=24)legend(1,8.5, > > legend=c("Pel","RG","SM","SV"),pch=21:24)axis(1,at=1:10, > > lab=c("2000","2001","2002","2003","2004","2005","2006","2007","2008","2 > > 009"))axis(2,0:60) > > [[alternative HTML version deleted]] > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.