lm.regsubsets: Evaluate lm model with highest adjusted $R^2$.
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
lm.regsubsets(object, model.number, ...)
Value
"lm"
object for the selected model.