Customizing the Kaplan-Meier Survival Plot

Changing the Line Thickness

The following steps modify the line thickness for the step functions in the survival plot:


%let StepOpts = lineattrs=(thickness=2.5);


proc lifetest data=sashelp.BMT plots=survival(cb=hw test);
   time T * Status(0);
   strata Group;

The results are displayed in FigureĀ 23.20.

Figure 23.20: Changing Line Thickness

Changing Line Thickness

By default, the StepOpts macro variable is null.