Probably you've already found the function step() in the base package, and its sub-functions add1(), drop1(). See the help for these. - tom blackwell - u michigan medical school - ann arbor -
On Fri, 25 Apr 2003 edgar at uprm.edu wrote:
Hello, Does anybody know where I can find an R function to carry out variable selection using stepwise similar (or even better) to the stepwise function available in S-Plus?. I have tried the mle.stepwise function available in the wle package but I am not getting accurate results. I have tried also the leaps package but it does not handle the options f-in and f-out like in either MINITAB or SAS. Thanks in advance Dr. Edgar Acuna University of Puerto Rico at Mayaguez