new_manual_strata {stratamatch} | R Documentation |
New Manual Strata
Description
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.
Usage
new_manual_strata(
treat = character(),
covariates = character(),
analysis_set = data.frame(),
call = call(),
issue_table = data.frame(),
strata_table = data.frame()
)
Arguments
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 |
Value
a basic manual_strata
object
[Package stratamatch version 0.1.9 Index]