[R] Insert regression coefficients in a graphic.

From: JJCV <jjcv_at_hush.com>
Date: Fri, 22 Apr 2011 11:16:42 -0700 (PDT)


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.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 23 Apr 2011 - 00:29:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 23 Apr 2011 - 01:00:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive