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!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.