Stratifies a data set based on a set of blocking covariates specified by the
user. Creates a
manual_strata object, which can be passed to
strata_match for stratified matching or unpacked by the user to be
matched by some other means.
data.frame with observations as rows, features as columns
the formula to be used for stratification. (e.g.
a boolean. If true, run even if a variable appears continuous. (default = FALSE)
manual_strata object. This contains:
treat - a string giving the name of the column encoding
covariates - a character vector with the names of the
categorical columns on which the data were stratified
analysis_set - the data set with strata assignments
call - the call to
manual_stratify used to generate this
issue_table - a table of each stratum and potential issues of
size and treat:control balance
strata_table - a table of each stratum and the covariate bin
to which it corresponds
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.