Description Usage Arguments Value
Title a fancy KM curve plot with p-value in the plot
1 2 3 4 5 |
model.formula |
the survival formula |
pvalue.TF |
whether showing the p-value or not |
conf.int.TF |
whether showing the confidence interval or not |
x.lab |
the label of x-axis |
x.interval |
the break of x-axis |
risk.table.style |
c('absolute', 'percentage','abs_pct') show both absolute number or/and percentage of individuals at risk |
n.censor.plot.TF |
to plot the number of censored subjects at time t. As suggested by Marcin Kosinski, This is a good additional feedback to survival curves, so that one could realize: how do survival curves look like, what is the number of risk set AND what is the cause that the risk set become smaller: is it caused by events or by censored events? |
surv.median.line.style |
horizontal/vertical line at median survival using the argument surv.median.line. Allowed values include one of c(“none”, “hv”, “h”, “v”). v: vertical, h:horizontal. |
legend |
to change the legend labels. |
a km plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.