extract.coef.lm {coefplot}R Documentation

extract.coef.lm

Description

Extract Coefficient Information from lm Models

Usage

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

Arguments

model

Model object to extract information from.

...

Further arguments

Details

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

Value

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

Author(s)

Jared P. Lander

Examples

## Not run: 
library(ggplot2)
data(diamonds)
library(coefplot)
mod1 <- lm(price ~ carat + cut + x, data=diamonds)
extract.coef(mod1)

## End(Not run)


[Package coefplot version 1.2.8 Index]