Function reference
-
surv_param_sim()
surv_param_sim_resample()
- Simulation of parametric survival model
-
surv_param_sim_pre_resampled()
- Simulation of parametric survival model with an already-resampled dataset
Step 2: Generate K-M and/or HR
Calculate Kaplan-Meier estimates (with median survival time) and/or hazard ratios. You can either use methods based on the simulated survival times (calc_hr_pi()
and calc_km_pi()
) or based on the average survival & PDF functions per treatment groups (calc_ave_hr_pi()
and calc_ave_km_pi()
)
-
calc_ave_hr_pi()
calc_hr_pi()
- Generate hazard ratio with prediction intervals from parametric bootstrap simulation
-
calc_ave_km_pi()
calc_km_pi()
- Generate Kaplan-Meier curves with prediction intervals using simulated survival time
-
plot_hr_pi()
- Plot simulated HR histogram(s) overlayed with prediction intervals
-
plot_km_pi()
- Plot Kaplan-Meier curves with prediction intervals from parametric bootstrap simulation
-
extract_hr_pi()
extract_km_pi()
extract_medsurv_pi()
extract_medsurv_delta_pi()
- Functions to extract prediction intervals and observed data
-
extract_sim()
extract_hr()
extract_km_obs()
extract_medsurv()
extract_medsurv_delta()
- Functions to extract raw simulated samples
-
print(<survparamsim.hrpi>)
summary(<survparamsim.hrpi>)
print(<survparamsim.kmpi>)
summary(<survparamsim.kmpi>)
print(<survparamsim>)
- Methods for S3 objects in the package
-
extract_median_surv()
- Functions to extract prediction intervals and observed data