residuals-methods {fRegression} | R Documentation |
Extract Regression Model Residuals
Description
Extracts residuals from a fitted regression object.
Usage
## S4 method for signature 'fREG'
residuals(object)
Arguments
object |
an object of class |
Methods
- object = "ANY"
-
Generic function
- object = "fREG"
-
Residuals
Note
residuals
is a generic function which extracts residual values
from objects returned by modeling functions.
Author(s)
Diethelm Wuertz for the Rmetrics R-port.
Examples
## regSim -
x = regSim(model = "LM3", n = 50)
## regFit -
fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
## residuals -
residuals(fit)
[Package fRegression version 4021.83 Index]