R/CreateArgFunctions.R
createStratifyByPsAndCovariatesArgs.Rd
Create a parameter object for the function stratifyByPsAndCovariates
createStratifyByPsAndCovariatesArgs(
numberOfStrata = 5,
baseSelection = "all",
covariateIds
)
Into how many strata should the propensity score be divided? The boundaries of the strata are automatically defined to contain equal numbers of target persons.
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".
One or more covariate IDs in the cohortMethodData object on which subjects should also be stratified.
Create an object defining the parameter values.