grab_coefs: Grab the slope coefficients

Description Usage Arguments Examples

View source: R/grab_coefs.R

Description

This function grabs the coefficients of a linear model.

Usage

1
grab_coefs(lm_obj)

Arguments

lm_obj

the linear model created by the lm function

Examples

1
2
3
library(palmerpenguins)
fit <- lm (bill_length_mm ~., data = penguins[,-8])
grab_coefs(fit)

kimgannon/bis557 documentation built on Nov. 25, 2020, 7:09 a.m.