createOutcome | R Documentation |
Create outcome definition
createOutcome(
outcomeId,
outcomeOfInterest = TRUE,
trueEffectSize = NA,
priorOutcomeLookback = NULL,
riskWindowStart = NULL,
startAnchor = NULL,
riskWindowEnd = NULL,
endAnchor = NULL
)
outcomeId |
An integer used to identify the outcome in the outcome cohort table. |
outcomeOfInterest |
Is this an outcome of interest? If not, creation of non-essential files will be skipped, including outcome=specific covariate balance files. This could be helpful to speed up analyses with many controls, for which we're only interested in the effect size estimate. |
trueEffectSize |
For negative and positive controls: the known true effect size. To be used
for empirical calibration. Negative controls have |
priorOutcomeLookback |
How many days should we look back when identifying prior. outcomes? |
riskWindowStart |
The start of the risk window (in days) relative to the |
startAnchor |
The anchor point for the start of the risk window. Can be |
riskWindowEnd |
The end of the risk window (in days) relative to the |
endAnchor |
The anchor point for the end of the risk window. Can be |
Any settings here that are not NULL
will override any values set in createCreateStudyPopulationArgs()
.
An object of type outcome
, to be used in createTargetComparatorOutcomes()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.