A (much belated) update to plotting Kaplan-Meier curves in the tidyverse
[This article was first published on R on Abhijit Dasgupta
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
One of the most popular posts on this blog has been my attempt to create Kaplan-Meier plots with an aligned table of persons-at-risk below it under the ggplot paradigm. That post was last updated 3 years ago. In the interim, Chris Dardis has built upon these attempts to create a much more stable and feature-rich version of this function in his package survMisc; the function is called autoplot.
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook