Is it possible to create a bar graph with multiple series and have n and percent labeled over the bar.
Example data is :
White | Pct | Asian | Pct | |
Abdominal Pain | 29 | 0.381579 | 3 | 0.375 |
Backache | 13 | 0.173333 | 1 | 0.125 |
Dysphagia | 10 | 0.131579 | 0 | 0 |
Hemoglobinuria | 43 | 0.565789 | 3 |
0.375 |
For example, for white abdominal pain over the bar I would like 29 (38%) or Asian over the
bar I would like abdominal pain 3 (38%).
Thank you in advance.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.