parse_lm: parse_lm

Description Usage Arguments Examples

View source: R/phfuncs_func.R

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 Oct. 11, 2018, 12:25 a.m.