BookmarkSubscribeRSS Feed
RAVI2000
Lapis Lazuli | Level 10

I have used proc lifetest and output the survival plot for atrisk and tatrisk to plot the km plot. My survival output dataset has tatrisk values as 0, 2, 4, 6. But when I output it using proc template and sgrender only 0, 2, 6 values are being displayed.

 

4 REPLIES 4
tarheel13
Rhodochrosite | Level 12

I feel like you should move this to the Graphics Programming forum. 

Reeza
Super User
I've moved your post to the graphics forum. It would help if you included sample data so we could run the code you've posted or if you cannot use your data use a known data set such as sashelp.heart.
djrisks
Barite | Level 11

Hello, have you used the TICKVALUELIST option to specify the x-axis values? Do you see 4 on the x-axis?

RAVI2000
Lapis Lazuli | Level 10
Yes, I do have 4 value on x-axis

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 996 views
  • 3 likes
  • 4 in conversation