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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

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
  • 670 views
  • 0 likes
  • 1 in conversation