Using a macro of proc lifetest, I draw a Kaplan-Meier survival curve.
On the Bottom-left, + Censored with Logrank p <.0001 is presented.
Although I am not sure how large is the default letter size in a small inset table, I want to enlarge the size of letters.(=>10pt).
How can I do?
data _null_;
%let url = //support.sas.com/documentation/onlinedoc/stat/ex_code/141;
infile "http:&url/templft.html" device=url;
file 'macros.tmp';
retain pre 0;
input;
if index(_infile_, '</pre>') then pre = 0;
if pre then put _infile_;
if index(_infile_, '<pre>') then pre = 1;
run;
%inc 'macros.tmp' / nosource;
%ProvideSurvivalMacros
%let InsetOpts = autoalign=(BottomLeft)
border=true BackgroundColor=GraphWalls:Color Opaque=true;
%CompileSurvivalTemplates
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.