Dear all,
I'm analyzing data for an observational study and I wuold like to present
some data in a horizontal bar chart.
A data example is:
Cod Var_strat Exam1 Exam2 Exam3
1 green Yes No No
2 red Yes No Yes
3 red No Yes No
4 green Yes No Yes
I would like to create a graph with the percentage of "Yes" for the three dichotomic variables (exam1 exam2 exam3) stratified by the variable "Var_strat" (green or red).
Anyone could help me?
Thanks in advance