[R] lm() intercept at the end, rather than at the beginning

Dimitri Szerman dimitrijoe at gmail.com
Fri Apr 6 02:34:22 CEST 2007


Hi,

I wonder if someone has already figured out a way of making

summary(mylm)   # where mylm is an object of the class lm()

to print the "(Intercept)" at  the last line, rather than the first
line of the output. I don't know about, say, biostatistics, but in
economics the intercept is usually the least interesting of the
parameters of a regression model. That's why, say, Stata prints by
default the intercept at the end. Just a suggestion for
R-developers...

Thanks,
Dimitri



More information about the R-help mailing list