search for: goodcases

Displaying 1 result from an estimated 1 matches for "goodcases".

Did you mean: goodcans
2010 Oct 03
1
scatterplot error message
...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 = FA...