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