On 18.07.2012 18:03, Mati Bielawski wrote:
I would like to know how to use the keep parameter in the step function. Or
the way to always keep one of my Xs, and the other Xs to be keep or not by
step forward method.

See ?step and in particular the "lower" part of its scope argument:

step(...., scope = list(lower = ~ XtoKeep, upper = ~ X1 + X2 + etc))

Best,
Uwe Ligges




Thank you all
Mati Bielawski

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to