Description Usage Arguments Value See Also Examples
Add number-at-risk (NAR) annotations to an existing survival plot, underneath the X-axis.
1 2 3 4 |
x |
A list as returned by |
at |
Time points at which the NAR values are calculated and placed. |
line |
Number of lines into the margin to start displaying the NAR. |
hadj |
Horizontal adjustment for the NAR values. |
title |
Optional title above the NAR. |
title.adj |
Text adjustment for the title |
labels |
Labels for each stratum. |
hoff |
Horizontal offset for the labels |
col |
Color for each stratum. |
Invisibly, a matrix containing the number-at-risk values
See nrisk
to retrieve number-at-risk values without plotting them.
See also surviplot
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.