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