coefplot (version 1.2.7)

extract.coef.default: extract.coef.default

Description

Extract Coefficient Information from Models

Usage

# S3 method for default
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 a model.

Examples

Run this code
# NOT RUN {
library(ggplot2)
library(coefplot)
data(diamonds)
mod1 <- lm(price ~ carat + cut + x, data=diamonds)
extract.coef(mod1)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab