This is an R package that provides functionality to plot beautiful survival curves (with numbers at risk table).
Based upon the ggplot2 package, it provides large flexibility, yet a straightforward and easy syntax.
An example:
The package is now available on CRAN! Easiest way to install is just to use install.packages:
install.packages("survsup")
If you want the very latest development version of the package, use devtools:
install.packages("devtools") # Can be omitted if already installed
devtools::install_github("dlindholm/survsup", build_vignettes = TRUE)
For detailed instructions on how to use the package, please refer to the Vignette.
library(survsup)
vignette("survsup_intro")
Please submit any bugs under issues. Collaborative efforts for further development of this package are of course very welcome!
Enjoy!