R/CreateArgFunctions.R
createStratifyByPsArgs.Rd
Create a parameter object for the function stratifyByPs
createStratifyByPsArgs(
numberOfStrata = 5,
stratificationColumns = c(),
baseSelection = "all"
)
How many strata? The boundaries of the strata are automatically defined to contain equal numbers of target persons.
Names of one or more columns in the data data.frame on which subjects should also be stratified in addition to stratification on propensity score.
What is the base selection of subjects where the strata bounds are to be determined? Strata are defined as equally-sized strata inside this selection. Possible values are "all", "target", and "comparator".
Create an object defining the parameter values.