om_lm: Run linear regression model (with interactions)

Description Usage Arguments

View source: R/analysis.R

Description

This function performs linear regression and gives back some neat info

Usage

1
om_lm(.data, lin_mod, type = "int", switch = F, nudge_y = -0.5)

Arguments

.data

data

lin_mod

a fitted model

type

what kind of model (currently only accepts "int" for interactions)

switch

logical. Switch variables in interaction plot. Default is FALSE

nudge_y

Decide the absolute value by which text label should be nudged (defaults to -0.5)


openmindplatform/openmindR documentation built on Nov. 13, 2021, 2:13 p.m.