I have this table:
Profession Educational_level Number
Doctor Low 0
Doctor Medium 5
Doctor High 8
Nurse Low 1
Nurse Medium 8
Nurse High 3
[...]
I want to find out the educational level of the median person and end up with this table:
Doctor High
Nurse Medium
[...]
Questions:
- How do I do this in R?
- And in Excel?
Thanks.