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