[R] Insert regression coefficients in a graphic.

JJCV jjcv at hush.com
Fri Apr 22 20:16:42 CEST 2011


I did a graphic with the next code:

plot(T, p, xlab=" ",, ylab=" ", pch=1, cex=2, lwd=2,
xlim=c(5,30), ylim=c(1000,1015))
abline(lm(p ~ T), lwd=2)
lm(p ~ T)

I want to see the regression coefficient in the graphic. ¿How can I do that?

Thanks for your time, 


View this message in context: http://r.789695.n4.nabble.com/Insert-regression-coefficients-in-a-graphic-tp3468487p3468487.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list