methods-residuals: Extract Regression Model Residuals

Description Usage Arguments Methods Note Author(s) Examples

Description

Extracts residuals from a fitted regression object.

Usage

1
2
## S4 method for signature 'fREG'
residuals(object)

Arguments

object

an object of class fREG as returned from the function regFit() or gregFit().

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

1
2
3
4
5
6
7
8
## regSim -
   x = regSim(model = "LM3", n = 50)
  
## regFit -
   fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
   
## residuals - 
   residuals(fit)

fRegression documentation built on May 2, 2019, 11:10 a.m.