View source: R/km_wlr_calculations_helpers.R
| km_quantile_table | R Documentation |
Returns a data frame of quantiles and confidence intervals for two groups.
km_quantile_table(
time_points,
surv0,
se0,
surv1,
se1,
arms = c("treat", "control"),
qprob = 0.5,
type = c("midpoint", "min"),
conf_level = 0.95
)
time_points |
Vector of time points. |
surv0 |
Survival probabilities for group 0. |
se0 |
Standard errors for group 0. |
surv1 |
Survival probabilities for group 1. |
se1 |
Standard errors for group 1. |
arms |
Group labels. |
qprob |
Quantile probability. |
type |
Calculation type. |
conf_level |
Confidence level. |
Data frame of quantiles and CIs for each group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.