Hello everyone, looking for help
lets say i have one variable: triage (1, 2, 3, 4, 5)
and another variable: decision (hospalitized-1, not hospalitized-0)
I wish to create a chart bar where the y exis represents proportion (percentage) of people hospalitized within each group. x axis represents the triage (each bar is a triage level).
for example: if im looking at triage level 1, and i see the bar reaches 70%, it means that 70% of all the people who were defined as level 1 in the triage where hospalitized.