residuals.lmSubsets: Extract the residuals from all-subsets regression

Description Usage Arguments Value See Also

Description

Return the residuals for the specified submodel.

Usage

1
2
3
4
5
## S3 method for class 'lmSubsets'
residuals(object, size, best = 1, ...)

## S3 method for class 'lmSelect'
residuals(object, best = 1, ...)

Arguments

object

"lmSubsets", "lmSelect"—a subset regression

size

integer—the submodel size

best

integer—the submodel position

...

ignored

Value

double[]—the residuals

See Also


lmSubsets documentation built on Feb. 8, 2021, 1:06 a.m.