Learn R Programming

lmSubsets (version 0.5-2)

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

Description

Return the residuals for the specified submodel.

Usage

# S3 method for lmSubsets
residuals(object, size, best = 1, ...)

# S3 method for 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