formula.lmSubsets: Extract a formula from a subset regression
Description
Return the formula for the specified submodel.
Usage
# S3 method for lmSubsets
formula(x, size, best = 1, ...)# S3 method for lmSelect
formula(x, best, ...)
Arguments
x
"lmSubsets", "lmSelect"---a subset regression
size
integer---the submodel size
best
integer---the submodel position
Value
"formula"---the submodel formula