Skip to contents

All functions

PET_norm()
Probability of early termination using normal density
RMST_sim_cal()
Estimation of RMST values in each group (parallel)
RMST_sim_test()
Single stage RMST test using simulation. P-value and cut off tau adjustment times (parallel)
adp_grid_src()
Adaptive grid search for critical value using RMST (Simple or Sculpted (parallel))
compare_line_plot()
Plotting the comparison of 3 methods
expo_gen_2stages()
Generate the 2 stages survival data under exponential or piecewise exponential distribution
find_m_logrank()
Find the critical value of two-stage log-rank test
get_cores()
Get the Current Number of Cores for Parallel Processing
get_opt_des()
Get Optimal Design
log_rank_sim()
Log-rank test simulation. P-value and z-statistics (parallel)
mu_cov_mc()
Mean and variance estimation of RMST using Monte-Carlo
set_cores()
Set the Number of Cores for Parallel Processing
theo_RMST()
Theoretical value of RMST (exponential distribution)