Create exposure definition
createExposure(exposureId, exposureIdRef = "exposureId", trueEffectSize = NA)
An integer used to identify the exposure in the exposure cohort table.
A string used to refer to the exposure when defining covariates using the
createEraCovariateSettings()
function.
For negative and positive controls: the known true effect size. To be
used for empirical calibration. Negative controls have
trueEffectSize = 1
. If the true effect size is unknown, use
trueEffectSize = NA
.
An object of type Exposure
.
Create an exposure definition, to be used with the createExposuresOutcome function.