I have a csv file which contains cancer data for two study groups: A and A Follow-up (eg, before and after treatment). The data are presented as follows:
ID Ethnicity Study Group
45A Caucasian A
45B Caucasian A - follow up
68A Asian A
68B Asian A - follow up
Both Ethnicity and Study Group are currently factors. I'd like to extract out the total by ethnicity by study group but struggling to find a way forward. Any help welcome.