coef-methods {fRegression} | R 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)
[Package fRegression version 4021.83 Index]