Description Usage Arguments Value Note Author(s) Examples
To add the table of numbers at risk below the Kaplan-Meier plot.
1 |
sfit |
an object of survfit() |
timeby |
integer, the interval butween every ticks at the x axis |
timemax |
(optional) integer, the upper limit of the x axis |
xlab |
character, a title for the x axis |
ylab |
character, a title for the y axis |
col |
(optional) vector of integer or character, the colours for each group |
g.names |
vector of character, the names for each group |
lwd |
(optional) integer, the line width |
plot |
a Kaplan-Meier plot with numbers at risk |
Please feel free to contact us, if you have any advice and find any bug!
Version 0.2.0: add the "timemax" and "lwd" arguments.
Zhicheng Du<dgdzc@hotmail.com>, Yuantao Hao<haoyt@mail.sysu.edu.cn>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.