View source: R/CreateArgFuns.R
createRunCmAnalysesArgs | R Documentation |
Create a parameter object for defining the estimation analyses.
createRunCmAnalysesArgs( label = NULL, riskStratificationMethod = "equal", stratificationOutcomes = "all", riskStratificationThresholds = 4, psMethod = "stratifyByPs", effectEstimationSettings = createStratifyByPsArgs(), timePoint = 365 )
label |
A single-word description of the analysis. |
riskStratificationMethod |
Can be "equal" for equal-sized risk strata; "quantile" for user-specified risk quantiles as thresholds; "custom" for user-specified risk thresholds |
stratificationOutcomes |
The outcome IDs on which risk stratification will be carried out. Should be a subset of the stratification outcomes defined in the 'analysisSettings'. Default is "all". |
riskStratificationThresholds |
The thresholds to be used for risk stratification. If 'riskStratificationMethod' is "equal" then it should be a single number denoting the number of equal-sized risk subgroups; if 'riskStratificationMethod' is "quantile", then it is a vector from 0 to 1 (increasing); if 'riskStratificationMethod' is "custom", then it is a vector with the predicted probabilities to be used as thresholds |
psMethod |
How should the propensity scores be used? Can be one of "stratifyByPs" or "matchOnPs". |
effectEstimationSettings |
Parameter object providing further settings
for the implementation of selected |
timePoint |
The time point after cohort start that absolute differences should be estimated. |
A parameter object for running the the estimation step.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.