View source: R/gg_survplot_patchwork.R
ggsurvplot_patchwork | R Documentation |
A thin wrapper around survminer::ggsurvplot()
that creates a survival plot and risk table, converts plots to a patchwork (see patchwork::patchwork
), and applies some custom formatting options.
ggsurvplot_patchwork(fit, scibeautify = T, axis.title.y.nudge = 0, ...)
fit |
allowed values include:
|
scibeautify |
Whether to apply |
axis.title.y.nudge |
Custom right-margin for the y-axis title of the plot, in units of "lines" |
... |
Arguments passed on to
|
A patchwork
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.