BookmarkSubscribeRSS Feed
PeterBr
Obsidian | Level 7

Hi All, I have the following code to graph a Kaplan-Meier plot. Is there any way to change the range on the Y axis from 0-1 to 0.8-1? It seems proc lifetest doesn't have any yaxis options similar to proc sgplot.

 


proc lifetest data = test6;
strata facility_volume;
time inf_time*inf_id(0);
where facility_volume = 1 or facility_volume = 5;
run;
1 REPLY 1
PeterBr
Obsidian | Level 7
Resolved

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 621 views
  • 0 likes
  • 1 in conversation