[R] how to extrac one coef from lm at a time

Antonio Olinto aolinto at bignet.com.br
Tue May 21 17:07:13 CEST 2002

Hello R-Users,

I have I simple question that I could not solve:

How to extract the elevation and the slope values from a linear model (lm)

coef(model.lm) gives both of them.


Antonio Olinto

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list