SimHaz-package |
Simulated Survival and Hazard Analysis for time-dependent |
getpower.clst |
Calculate power for the Cox proportional hazard model with time-dependent exposure using method 1 with clustering |
getpower.method1 |
Calculate power for the Cox proportional hazard model with time-dependent exposure using method 1 |
getpower.method2 |
Calculate power for the Cox proportional hazard model with time-dependent exposure using method 2 |
plot_power |
Plot power curves for survival analysis with time-dependent exposure |
plot_simuData |
Make an incidence plot from simulated data. |
SimHaz |
Simulated Survival and Hazard Analysis for time-dependent |
tdSim.clst |
Simulate 1 dataframe (1 simulation) of time-dependent exposure under method 1 with a clustering data frame |
tdSim.method1 |
Simulate 1 dataframe (1 simulation) of time-dep exposure under method 1 |
tdSim.method2 |
Simulate 1 dataframe (1 simulation) of time-dep exposure under method 2 |