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