| boot_rmst_delta | R Documentation |
Bootstrap CI for dynamic RMST delta curve
boot_rmst_delta(xA, xB, R = 300, conf = 0.95, seed = NULL)
xA |
A |
xB |
A |
R |
Number of bootstrap replicates. |
conf |
Confidence level in |
seed |
Optional RNG seed. |
A list with point estimate and percentile confidence bands.
time <- c(0, 1, 2)
xA <- as_survmat(rbind(c(1.0, 0.9, 0.7), c(1.0, 0.8, 0.6)), time, group = c("A", "A"))
xB <- as_survmat(rbind(c(1.0, 0.95, 0.8), c(1.0, 0.85, 0.7)), time, group = c("B", "B"))
boot <- boot_rmst_delta(xA, xB, R = 10, seed = 1)
boot$estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.