Skip to contents

This returns a character that describes the time at risk

Usage

getTarText(tar)

Arguments

tar

a list containing the four tar setting

Value

An character string describing the tar

Details

Input the tar settings

Examples

targetText <- getTarText(
list(
startAnchor = 'cohort_start',
riskWindowStart = 1,
endAnchor = 'cohort_end',
riskWindowEnd = 0
)
)