powered by
Extracts coefficients from a fitted regression model.
Generic function.
Extractor function for coefficients.
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") ## coef - coef(fit)
Run the code above in your browser using DataLab