[R] omitting coefficients in summary.lm()
ehlers at math.ucalgary.ca
Mon Apr 24 19:00:03 CEST 2006
coef(summary(your model)) pulls out the matrix of coefs/SEs/etc.
You could subset that.
Dimitri Szerman wrote:
> I'm running a regression using lm(), in which one of the right-hand side
> variables is factor with many levels (say, 80). I am not intersted in the
> estimates of the resulting dummies, but I have to include them in my
> regression equation. So, I don't want the estimates associated with theses
> dummies to be printed by summary.lm( ). Is there an easy way to do this?
> Thank you,
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help