parse_lm: parse_lm

Description Usage Arguments Examples

Description

This function parses and formats an linear model object.

Usage

1
parse_lm(lmfit, index = 2, scaled = FALSE, style = "beta")

Arguments

lmfit

lm object

index

Line index in data frame

scaled

Was the predicor scaled. Defaults to FALSE.

style

Output format. Defaults to beta.

Examples

1
2
lmfit <- lm(rnorm(100, 0, 1) ~ rnorm(100, 0, 1))
parse_lm(lmfit, 1, FALSE, "beta")

philipphoman/phfuncs documentation built on May 4, 2019, 3:18 p.m.