Re: [R] omitting coefficients in summary.lm()

2006-04-24 Thread P Ehlers
Dimitri,

coef(summary(your model)) pulls out the matrix of coefs/SEs/etc.
You could subset that.

Peter Ehlers


Dimitri Szerman wrote:
> Hi,
> 
> 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,
> 
> Dimitri
> 
>   [[alternative HTML version deleted]]
> 
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] omitting coefficients in summary.lm()

2006-04-24 Thread Dimitri Szerman
Hi,

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,

Dimitri

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html