Hi All. I am a new R user. Trying to do scatterplot. Not sure how to resolve this error message
A<-subset (ErablesGatineau, station=="A") > B<-subset (ErablesGatineau, station=="B") > > plot(diam ~ biom) > abline(lm(diam ~ biom), col = "red") > > goodcases <- !(is.na(diam) | is.na(biom)) > lines(lowess(diam[goodcases] ~ biom[goodcases])) > > library(car) > scatterplot(diam ~ biom, reg.line = lm, smooth = TRUE, + labels = FALSE, boxplots = FALSE, span = 0.5, data = A) Error in `row.names<-.data.frame`(`*tmp*`, value = FALSE) : invalid 'row.names' length [[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.