[Under development] Cohort method R package