BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sfo
Quartz | Level 8 sfo
Quartz | Level 8

Hi,

 

I have a macro which outputs the results from PROC LIFETEST to 4 different files for 4 different qurtukes. Basically it will be great if I can do the following:

 

1. Only out the plot generated using  plots=survival(atrisk) is outputted to an rtf file and it appends the graphs from the next macro call to the previous call

 

2. An easy way to add a specific title to the plot for example: Plot for Quartile 1

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
Reeza
Super User

 This is a bit of overkill, but similar enough. 

 

https://gist.github.com/statgeek/d3bce2a9e2ef0523db9d

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 1005 views
  • 0 likes
  • 2 in conversation