Compute the three modified Haybittle-Peto boundaries
computeMHPBoundaries(prevalence, N, alpha, beta, eps, futilityOnly = FALSE)
a named vector of three values containing \(\tilde{b}\), b, c
the vector of prevalences between 0 and 1 summing to 1. \(J\), the number of groups, is implicitly the length of this vector and should be at least 2.
a three-vector of total sample size at each stage
the type I error
the type II error
the fraction (between 0 and 1) of the type 1 error to spend in the interim stages 1 and 2
a logical value indicating only the futility
boundary is to be computed; default FALSE