record_cohort_attrition: Add attrition reason to a cohort_table object
Description
Update the cohort attrition table with new counts and a reason for attrition.
Usage
record_cohort_attrition(cohort, reason, cohortId = NULL)
Value
The cohort object with the attributes created or updated.
![[Deprecated]](figures/lifecycle-deprecated.svg?package=CDMConnector&version=1.7.0)
Arguments
- cohort
A generated cohort set
- reason
The reason for attrition as a character string
- cohortId
Cohort definition id of the cohort you want to update the
attrition