Computes a the number of hypotheses that can be rejected with FWER control by using a binary search
FWER_set_C(LocalTest, pvals, alpha, low, high, verbose)
The number of hypotheses that can be rejected with kFWER control at a user specific k.
A function that returns a double in (0, 1).
A vector of p-values.
A double indicating the significance level
integer denoting the starting point for the search. Should start at zero.
integer denoting the end point of the search. Should end at pvals.size() - 1.
boolean, indicating whether to print progress.