getTarText: output a string summarizing the time at risk

View source: R/Helpers.R

getTarTextR Documentation

output a string summarizing the time at risk

Description

This returns a character that describes the time at risk

Usage

getTarText(tar)

Arguments

tar

a list containing the four tar setting

Details

Input the tar settings

Value

An character string describing the tar

See Also

Other helper: addTarColumn(), formatBinaryCovariateName(), formatTargetPopulation(), getExampleConnectionDetails(), getOutcomeTable(), getTargetTable(), kableDark(), removeSpaces()

Examples

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


OhdsiReportGenerator documentation built on Nov. 14, 2026, 1:09 a.m.