View source: R/stratify_sumstats.R
stratify_sumstats | R Documentation |
This function estimates a few useful summary statistics for the exposure within each strata
stratify_sumstats(wdata, exposure, model_vars = c(outcome, exposure))
wdata |
a data frame passed to function containing necessary data for analysis |
exposure |
column name to summarize across strata |
returns a data frame of summary statistics on the column of interest for each strata
stratify_sumstats()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.