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, ...)
"regsubsets"
.Rcmdr
."lm"
object for the selected model.lm
, regsubsets