BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
morenayan
Fluorite | Level 6

As you see, this is my PROC LIFETEST sas code, my aim is to get a SurvivalPlot in vector format, which means I want a picture.svg

ods graphics on;
ods select SurvivalPlot;
proc lifetest data=sascomp.adqs method=PL plots=(survival(test atrisk cl) logsurv) alpha=0.05;
   time RETIME*STATUS(0);  
   strata Group;          
run;
ods graphics off;

I searched the SAS HELP website and here, but nothing. Please help me, thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

Check path  c:\temp\z\ ,there  should have a file named sgplot1.svg 

 

ods listing gpath='c:\temp\z\' style=htmlblue;
ods graphics /imagefmt=svg ;
proc lifetest data=sashelp.bmt;
time t*status(0);
strata group;
run;

View solution in original post

2 REPLIES 2
Ksharp
Super User

Check path  c:\temp\z\ ,there  should have a file named sgplot1.svg 

 

ods listing gpath='c:\temp\z\' style=htmlblue;
ods graphics /imagefmt=svg ;
proc lifetest data=sashelp.bmt;
time t*status(0);
strata group;
run;
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
  • 2 replies
  • 785 views
  • 0 likes
  • 2 in conversation