parse_lm: parse_lm

View source: R/represearch.R

parse_lmR Documentation

parse_lm

Description

This function parses and formats an linear model object.

Usage

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

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

philipphoman/represearch documentation built on July 27, 2023, 10:23 a.m.