extract.coef.default {coefplot}R 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)


[Package coefplot version 1.2.8 Index]