Description Usage Arguments Examples
Prints a formatted summary table with estimates and confidence intervals
for suvfit
objects.
1 | surv_table(s, digits = 3, times = pretty(range(s$time)), ...)
|
s |
an object of class |
digits |
number of digits after decimal |
times |
vector of survival times |
... |
additional arguments passed to |
1 2 3 4 5 6 7 | ## Not run:
library('survival')
data(cancer)
fit <- survfit(Surv(time, status) ~ 1, data = cancer, conf.type = 'log-log')
surv_table(fit, times = 0:4 * 50, digits = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.