View source: R/strata_object_constructors.R
new_manual_strata | R Documentation |
Basic constructor for an manual_strata
object. These objects hold all
the information associated with a dataset that has been stratified via
manual_stratify
. This object may be passed to
strata_match
to be matched or it may be unpacked by the user to be
matched by other means.
new_manual_strata( treat = character(), covariates = character(), analysis_set = data.frame(), call = call(), issue_table = data.frame(), strata_table = data.frame() )
treat |
a string giving the name of the column where treatment information is stored |
covariates |
a character vector with the names of the categorical columns on which to stratify |
analysis_set |
the data set which will be stratified |
call |
the call to |
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 this corresponds to |
a basic manual_strata
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.