Creates an object with an optional label which stores the originating source data for downstream ggconsort cohorts

cohort_start(.data, label = NULL)

Arguments

.data

A data frame or tibble

label

A character string to describe the set of cohorts

Value

Returns a ggconsort_cohort object with $data and $labels items