| lm.regsubsets | R Documentation |
The regsubsets function in the leaps package finds the
model with the highest adjusted R^2. This function evaluates the full
lm object for that model.
lm.regsubsets(object, model.number, ...)
object |
An object of class |
model.number |
Index number generated by |
... |
Other arguments. |
"lm" object for the selected model.
Richard M. Heiberger <rmh@temple.edu>
lm, regsubsets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.