Description Usage Arguments Value
View source: R/survival_plot.R
Survival plotting function for survnma objects
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
data |
One of the two:
|
study |
a specified study to be used for carrying the analysis |
treatments |
a selection of treatments to be compared; can be the whole set of available treatments |
timesteps |
Vector of evaluation times. Should be of length > 2 |
study_labs |
labels for each study |
colors |
vector containing color codes to be used for curves |
xlab |
labels for x-axis |
ylab |
labels for y-axis |
xlim |
a limit for the x-axis |
ylim |
a limit for the y-axis |
title |
label for title |
interval |
boolean for producing credible interval or not |
returns a graph of survival curves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.