getpower.method2 function

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