[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)
separately?

coef(model.lm) gives both of them.

Thanks,

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