extract.coef.default: extract.coef.default

Description Usage Arguments Details Value Author(s) Examples

View source: R/extractCoef.r

Description

Extract Coefficient Information from Models

Usage

1
2
## 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

1
2
3
4
5
6
7
8
## 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 Jan. 16, 2021, 5:09 p.m.