AIC.lmSubsets {lmSubsets} | R Documentation |
Extract AIC values from a subset regression
Description
Evaluate Akaike's information criterion (AIC) for the specified submodels.
Usage
## S3 method for class 'lmSubsets'
AIC(object, size, best = 1, ..., k = 2, na.rm = TRUE, drop = TRUE)
## S3 method for class 'lmSelect'
AIC(object, best = 1, ..., k = 2, na.rm = TRUE, drop = TRUE)
Arguments
object |
|
size |
|
best |
|
... |
ignored |
k |
|
na.rm |
|
drop |
|
Value
double[]
—the AIC values
See Also
lmSubsets()
for all-subsets regressionlmSelect()
for best-subset regressionAIC()
for the S3 generic
[Package lmSubsets version 0.5-2 Index]