get_lm: Get lm()

Description Usage Arguments Value

View source: R/model-helpers.R

Description

Run custom lm()

Usage

1
get_lm(df, y, x, adj, fm, ...)

Arguments

df

source data.frame

y

response variable

x

variable of interest

adj

adjustment varaiables

fm

MEC filter

...

Arguments passed to lm()

Value

list with tidy(), glance(), and lrtest() results


icj/mecfun documentation built on Nov. 4, 2019, 1:54 p.m.