Learn R Programming

CDMConnector (version 1.7.0)

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]

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