[R] adding linear regression data to plot

derek jan.kacaba at gmail.com
Wed Mar 16 16:47:01 CET 2011


I know I can add line to graph with abline(), but I would like to print
R-squared, F-test value, Residuals  and other statistics from lm() to a
graph. I don't know how to access the values from summary(), so that I can
use them in a following code or print them in a graph.

--
View this message in context: http://r.789695.n4.nabble.com/adding-linear-regression-data-to-plot-tp3357946p3382135.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list