formula.lmSubsets {lmSubsets} | R Documentation |
Extract a formula from a subset regression
Description
Return the formula for the specified submodel.
Usage
## S3 method for class 'lmSubsets'
formula(x, size, best = 1, ...)
## S3 method for class 'lmSelect'
formula(x, best, ...)
Arguments
x |
|
size |
|
best |
|
... |
ignored |
Value
"formula"
—the submodel formula
See Also
lmSubsets()
for all-subsets regressionlmSelect()
for best-subset regressionformula()
for the S3 generic
[Package lmSubsets version 0.5-2 Index]