Implements the fixed sequence testing procedure of familywise error rate control. The sequence is given through ordering elements of p_order increasingly.
A boolean vector of the same length as p with each element being TRUE if the corresponding hypothesis is rejected and FALSE otherwise.
Arguments
p_order
a numeric vector or matrix with one column whose order determines the sequence of tests.
p
a numeric vector taking values in (0, 1] such that length(p) == nrow(p_order) if p_order is a matrix (or length(p) == length(p_order) if p_order is a numeric vector).
alpha
a numeric value in (0, 1] specifying the Type I error rate.
decreasing
a boolean value determining whether the order of p_order should be understood in decreasing order.