Function that creates a cohort object
cohort(entry, attrition = NULL, exit = NULL, era = NULL)
the index event of the cohort
rules that restrict the cohort further, developing attrition
the event where the person exits the cohort
Cohort era (collapse) logic created with the `cohortEra` function
an S4 Cohort class object describing the cohort definiton