methods-coef: REG coefficients Methods

coef-methodsR Documentation

REG coefficients Methods

Description

Extracts coefficients from a fitted regression model.

Methods

object = "ANY"

Generic function.

object = "fREG"

Extractor function for coefficients.

Note

coef is a generic function which extracts the coefficients from objects returned by modeling functions, here the regFit and gregFit parameter estimation 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")
   
## coef - 
   coef(fit)

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