Return the variable names for the specified submodels.
# S3 method for lmSubsets
variable.names(object, size, best = 1, ..., na.rm = TRUE, drop = TRUE)# S3 method for lmSelect
variable.names(object, best = 1, ..., na.rm = TRUE, drop = TRUE)
"lmSubsets"
, "lmSelect"
---a subset
regression
integer[]
---the submodel sizes
integer[]
---the submodel positions
ignored
logical
---if TRUE
, remove NA
entries
logical
---if TRUE
, simplify structure
logical[,]
, "data.frame"
---the variable names
lmSubsets()
for all-subsets
regression
lmSelect()
for best-subset
regression
variable.names()
for the S3
generic