Creates R6 object for TimeAtRisk
createTimeAtRiskDef(
id,
startWith = "start",
startOffset = 0,
endWith = "end",
endOffset = 0
)
the unique identifier for this outcome definition
Specifies the field (start or end) to offset from for the TAR start. Allowed values: 'start', 'end'
The number of days to offset for the TAR start, defaults to 0.
Specifies the field (start or end) to offset from for the TAR end. Allowed values: 'start', 'end'
The number of days to offset for the TAR start, defaults to 0.
a R6 class: TimeAtRisk