grab_coeffs: Grab the slope coefficients

Description Usage Arguments Examples

View source: R/grab_coefficients.R

Description

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

Usage

1
grab_coeffs(lm_ob)

Arguments

lm_ob

the linear object created by the lm() function.

Examples

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

nixgank-wang/bis557 documentation built on Dec. 26, 2020, 9:54 p.m.