calc_ave_hr_pi()
and
calc_ave_km_pi()
. Simulate the entire survival curve rather
than a single survival time for each individual, then take average of
the curves to generate the population survival curve, for the purpose of
HR and KM curve calculations.group
and trt
for
calc_km_pi()
New function extract_medsurv_delta_pi()
will return
prediction intervals of the difference of median survival time between
treatment
The extract_median_surv()
function was deprecated
and superseded by extract_medsurv_pi()
for consistent name
conventions
New function extract_medsurv()
will return raw
median survival time per simulation
New function surv_param_sim_pre_resampled()
enables
simulation with an already resampled dataset
New function calc_km_pi()
shows warning when there
are survival simulations for which median survival times were not
reached
calc_hr_pi()
can now calculate hazard ratios for
dataset with more than two treatment groups
vdiffr
conditionally on testsoptions(lifecycle_verbosity = "error")
to avoid unnecessary
errorssurv_param_sim_resample()
with
tidyr >= 1.0.0
Fix unit test code to work with dplyr 1.0.0
Add example outputs in Readme and vignette