Changes in version 0.1.7 (2025-05-02) Major changes - Implemented 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. Changes in version 0.1.6 (2022-06-03) Minor changes - Fix error when the same variable is included in both group and trt for calc_km_pi() Changes in version 0.1.5 (2021-04-26) Minor changes - 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 Changes in version 0.1.4 (2020-12-08) Minor changes - Bug fix - use vdiffr conditionally on tests Changes in version 0.1.3 (2020-11-24) Minor changes - Bug fix - disable options(lifecycle_verbosity = "error") to avoid unnecessary errors Changes in version 0.1.2 (2020-06-18) Minor changes - Bug fix of surv_param_sim_resample() with tidyr >= 1.0.0 Changes in version 0.1.1 (2020-05-12) Minor changes - Fix unit test code to work with dplyr 1.0.0 - Add example outputs in Readme and vignette Changes in version 0.1.0 (2020-01-13) - Initial release