powered by
Extract Coefficient Information from Models
# S3 method for default extract.coef(model, ...)
A data.frame containing the coefficient, the standard error and the variable name.
data.frame
Model object to extract information from.
Further arguments
Jared P. Lander
Gets the coefficient values and standard errors, and variable names from a model.
if (FALSE) { library(ggplot2) library(coefplot) data(diamonds) mod1 <- lm(price ~ carat + cut + x, data=diamonds) extract.coef(mod1) }
Run the code above in your browser using DataLab