Parameter Description: Calculate Events Function
Optionally, a function can be entered that defines the way of performing the sample size
recalculation. By default, event number recalculation is performed with conditional power and specified
minNumberOfEventsPerStage
and maxNumberOfEventsPerStage
(see details and examples).