getpower.method1 function

Calculate power for the Cox proportional hazard model with time-dependent exposure using method 1