formula-methods {fRegression} | R Documentation |
Extracts formula from a fitted regression model.
formula
is a generic function which extracts the formula
expression from objects returned by modeling functions, here the
regFit
and gregFit
parameter estimation function.
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") ## formula - formula(fit)