Hello,
I'm trying to make a graph where the y axis is DBP and the x-axis is SBP which I got.
But I need to make the symbol based on the race of the clinic data, some of the datalines are B and some are W.
How do I make the graph only show the numbers based on people who are labeled B?
Currently I'm making a graph that shows both B and W.
proc plot data=CLINIC;
plot DBP*SBP=RACE;
run;
Thank you,
I appreciate it
I do find it odd that someone is actually using Plot in this day and age but ..
proc plot data=CLINIC; where Race='B'; plot DBP*SBP=RACE; run;
If your actual value is longer, such as Black, then use the entire text value in the Where statement.
I do find it odd that someone is actually using Plot in this day and age but ..
proc plot data=CLINIC; where Race='B'; plot DBP*SBP=RACE; run;
If your actual value is longer, such as Black, then use the entire text value in the Where statement.
Thank you so much!
I am learning SAS basics for school.
It worked exactly as needed!
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.