[R] Backward Elimination Library

John Fox jfox at mcmaster.ca
Thu Jun 12 00:42:09 CEST 2003


Dear Thomas,

At 07:16 AM 6/11/2003 +0200, Thomas Fischer wrote:

>I am looking for a library or script for R to run a backward elimination
>automatically on a linear regression. Does anybody know where to find
>such a thing or has a code snipplet lying around?

See ?step. The step function is part of the base package.

I hope that this helps,
  John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox




More information about the R-help mailing list