lm.regsubsets

0th

Percentile

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

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.

Keywords
regression
Usage
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.

See Also

lm, regsubsets

Aliases
  • lm.regsubsets
Documentation reproduced from package HH, version 3.1-23, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.