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]]

