variable.names.lmSubsets {lmSubsets} | R Documentation |
Extract variable names from a subset regression
Description
Return the variable names for the specified submodels.
Usage
## S3 method for class 'lmSubsets'
variable.names(object, size, best = 1, ..., na.rm = TRUE, drop = TRUE)
## S3 method for class 'lmSelect'
variable.names(object, best = 1, ..., na.rm = TRUE, drop = TRUE)
Arguments
object |
|
size |
|
best |
|
... |
ignored |
na.rm |
|
drop |
|
Value
logical[,]
, "data.frame"
—the variable names
See Also
lmSubsets()
for all-subsets regressionlmSelect()
for best-subset regressionvariable.names()
for the S3 generic
[Package lmSubsets version 0.5-2 Index]