stratify_sumstats: summary statistics for the exposure within each strata

View source: R/stratify_sumstats.R

stratify_sumstatsR Documentation

summary statistics for the exposure within each strata

Description

This function estimates a few useful summary statistics for the exposure within each strata

Usage

stratify_sumstats(wdata, exposure, model_vars = c(outcome, exposure))

Arguments

wdata

a data frame passed to function containing necessary data for analysis

exposure

column name to summarize across strata

Value

returns a data frame of summary statistics on the column of interest for each strata

Examples

stratify_sumstats()

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