Description Usage Arguments See Also Examples
Plot the survival estimates and their 95% confidence bands for each dynamic treatment regime
1 2 3 4 5 |
x |
an object of class |
confidence.interval |
If confidence.interval=FALSE (default), the 95% confidence bands are not plotted. If confidence.interval=TRUE, the 95% confidence bands are plotted as shadows. |
xlab |
label given to the x-axis. Default is "Time". |
ylab |
label given to the y-axis. Default is "Survival probability". |
line.color |
colors for the lines. Default are "black", "grey40", "grey60", and "grey80" for A1B1, A1B2, A2B1, and A2B2 respectively. |
legend.position |
the position of legend: "left", "right" (default), "bottom", "top", or two-element numeric vector (e.g. c(0.6,0.9)) |
censored |
If censored=FALSE (default), the censoring ticks are not plotted. If censored=TRUE, the censoring times are plotted as ticks |
... |
for future methods |
DTR.object
, print.DTR
, summary.DTR
, print.summary.DTR
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.