summariseCohortTiming function

Summarise timing between entries into cohorts in a cohort table