Stsatrisk is a wrapper for sts graph that adds a table to a survival plot with at-risk information, making it easy to create graphs that follow the list of recommendations given by Pocock et al. (2002) for Kaplan–Meier plots. We use stsatrisk to create plots in the desired format with the desired information.
PocockS. J., ClaytonT. C., and AltmanD.G.2002. Survival plots of time-to-event outcomes in clinical trials: good practice and pitfalls. The Lancet359: 1686–1689.