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 mĂșltiplos 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","2009"))axis(2,0:60) [[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.