Re: [R] Stepwise procedure with force.in command

2012-04-09 Thread Peter Ehlers
On 2012-04-09 00:44, Hien Nguyen wrote: Dear R-helpers, I am trying to do a stepwise procedure in which I want to force some variables in the model. I have searched around and it seems that only leaps package allows to force the variable in the stepwise procedure. I use the leaps package and use

[R] Stepwise procedure with force.in command

2012-04-09 Thread Hien Nguyen
Dear R-helpers, I am trying to do a stepwise procedure in which I want to force some variables in the model. I have searched around and it seems that only leaps package allows to force the variable in the stepwise procedure. I use the leaps package and use the regsubsets(lm1, force.in = 1, dat