Calculate Schoenfeld or Event Proportion power from number of events
events2power(events, HR, ratio = 1, alpha1 = 0.025)
Number of events.
Hazard Ratio. Values below 1 indicate a benefit to the active arm vs control.
Randomisation ratio (Schoenfeld), or event ratio (event proportion method). Default=1.
1-sided alpha. Default=0.025.
Power as a decimal