get_coef: this extracts the coefficients from lm

Description Usage Arguments Value Examples

View source: R/get_coef.R

Description

this extracts the coefficients from lm

Usage

1
get_coef(model = m1, which.ivar = "Petal.Width")

Arguments

model

lm object

which.ivar

which independet variable should be obtained?

Value

a vector of estimation results

Examples

1
get_coefs(model = lm(Petal.Length ~ Petal.Width, data = iris), which.ivar = "Petal.Width")

hhilbig/hannostuff2 documentation built on Oct. 28, 2019, 8:47 p.m.