extract.coef.default: extract.coef.default

View source: R/extractCoef.r

extract.coef.defaultR Documentation

extract.coef.default

Description

Extract Coefficient Information from Models

Usage

## Default S3 method:
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 a 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)
library(coefplot)
data(diamonds)
mod1 <- lm(price ~ carat + cut + x, data=diamonds)
extract.coef(mod1)

## End(Not run)


coefplot documentation built on March 18, 2022, 7:58 p.m.