Draws bs_samples bootstrap resamples (with replacement) of the
per-observation survival curves stored in gg_dta, computes the column
means to obtain a bootstrapped mean curve per resample, then returns the
pointwise quantiles at level_set and the overall mean across
resamples.
bootstrap_survival(gg_dta, bs_samples, level_set)A data.frame with one row per unique event time and columns
value (time), lower, upper, median, and
mean.
A wide data.frame of survival probabilities as returned
by the survival branch of gg_rfsrc.rfsrc, before the
optional pivot to long form. Columns obs_id, event, and
group (if present) are excluded from the resampling.
Integer; number of bootstrap resamples.
Numeric vector of length 2 giving the lower and upper
quantile probabilities for the confidence band (e.g. c(0.025, 0.975)
for a 95% CI).