I'm not really sure how to ask this, so I apologize if this is a repeat question. I have this data frame that looks something like this:
| ID | Attend_x | Attend_y | Attend_z |
| 1 | No | No | No |
| 2 | No | No | Yes |
| 3 | No | Yes | No |
| 4 | No | Yes | Yes |
I've been trying to figure out the right combination of group_by and count to get it to look like this:
| | Yes | No |
|Attend_x| 0 | 4 |
|Attend_y| 2 | 2 |
|Attend_z| 2 | 2 |
I'm honestly stumped. So any advice is super appreciated. Thanks!