I am creating a strip plot from the lattice library, and would like the
display to also have the linear model line through it. How would I do that?
stripplot(jitter(vs30)~tif.vs30, data=rastermodel, xlim=c(150,600),
ylim=c(0,1000))
yonglm<-lm(vs30~tif.vs30, data=rastermodel)
Thanks!
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.