lm.regsubsets: Evaluate lm model with highest adjusted $R^2$.

Description Usage Arguments Value Author(s) See Also

Description

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.

Usage

1
lm.regsubsets(object, model.number, ...)

Arguments

object

An object of class "regsubsets".

model.number

Index number generated by Rcmdr.

...

Other arguments.

Value

"lm" object for the selected model.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also

lm, regsubsets



Search within the HH package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.