grab_coeffs: Grab the slope coefficients

Description Usage Arguments Examples

View source: R/grab-coeffs.r

Description

This is a simple function to grab this slope coefficients of a linear model.

Usage

1
grab_coeffs(lm_obj)

Arguments

lm_obj

the linear model object created by the lm() function

Examples

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

xy272/bis557 documentation built on Sept. 18, 2020, 12:57 p.m.