stratify_lmfit: runs lmfit() on output of stratify_data()

View source: R/stratify_lmfit.R

stratify_lmfitR Documentation

runs lmfit() on output of stratify_data()

Description

This function stratifies the working data set into either quantiles or user defined bins

Usage

stratify_lmfit(wdata, outcome, exposure, covariates)

Arguments

wdata

a strata_data() object

outcome

a single string character of the column name for the outcome or response variable

exposure

a single string character of the column name for the exposure or explanatory variable

covariates

a character vector that are also column names used to define variables that will be set as covariates.

Value

returns

Examples

stratify_lmfit()

hughesevoanth/glsmr documentation built on May 14, 2023, 3:41 p.m.