This is a nice overview of how to use R to adjust survival curves in an observational study. It covers weighting and modeling with covariates and criticizes several approaches.

Terry M. Thernau, Cynthia S. Crawson, Elizabeth J. Atkinson. Adjusted survival curves. 2015 (January). Available at https://cran.r-project.org/web/packages/survival/vignettes/adjcurve.pdf.

This Recommendation was added to the website on 2018-05-20 and was last modified on 2020-02-29. You can find similar pages at R software, Survival analysis.

An earlier version of this page appears here.