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