residuals-methods | R Documentation |
Extracts residuals from a fitted regression object.
## S4 method for signature 'fREG'
residuals(object)
object |
an object of class |
Generic function
Residuals
residuals
is a generic function which extracts residual values
from objects returned by modeling functions.
Diethelm Wuertz for the Rmetrics R-port.
## regSim -
x = regSim(model = "LM3", n = 50)
## regFit -
fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
## residuals -
residuals(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.