Function which takes the output of the cohort() function and tabulates results

tabulate_cohort_data(cohort_data = list(), file = "dummy.txt")

Arguments

cohort_data

List of form output by cohort() function

file

Location/name of file to send results

Details

Takes the output of the cohort() function and tabulates results by cluster, patient and time point for processing using statistical models. Each patient across all clusters will have a unique ID number (patient_ID = (patient's number in their cluster) + (patient's cluster number - 1)*(number of patients per cluster))