methods-formula: Extract Regression Model formula

formula-methodsR Documentation

Extract Regression Model formula

Description

Extracts formula from a fitted regression model.

Methods

object = "ANY"

Generic function

object = "fGARCH"

Formula

Note

formula is a generic function which extracts the formula expression from objects returned by modeling functions, here the regFit and gregFit parameter estimation function.

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")
   
## formula - 
   formula(fit)

fRegression documentation built on Jan. 14, 2024, 8:23 p.m.