Extract Coefficient Information from lm Models

# S3 method for lm
extract.coef(model, ...)

Arguments

model

Model object to extract information from.

...

Further arguments

Value

A data.frame containing the coefficient, the standard error and the variable name.

Details

Gets the coefficient values and standard errors, and variable names from an lm model.

Examples

if (FALSE) { require(ggplot2) data(diamonds) library(coefplot) mod1 <- lm(price ~ carat + cut + x, data=diamonds) extract.coef(mod1) }