[R] intermediate iterations of stepwise regression

utkarshsinghal utkarsh.singhal at global-analytics.com
Mon May 18 15:11:52 CEST 2009


Hi all,

I am performing a stepwise regression by running the "step" function on 
an "lm" object. Now I want to save the intermediate iterations. I know 
the argument trace=T will print it on the console, but I rather want to 
assign it to some R object or may be output it in a CSV or text file.

Any help will be appreciated.

Regards
Utkarsh




More information about the R-help mailing list