Relative Content

Tag Archive for rdataframeaggregation

R aggregation of three factors one being gender

The model: there are two course “A” and “B”; each attended by students of a certain education level. I would like to make a summary table of the factors.
I thought aggregation can do the job, but I am puzzled with counting the factor type of gender. I would like to make a summary of which the output should look like this.