compute_troendle: The Troendle's correction
Description
Compute the Troendle's correction given a matrix a permuted statistics.
Usage
compute_troendle(distribution, alternative)
Arguments
distribution
A matrix of permuted statistical signal. The first row indicating the observed statistics.
alternative
A character string indicating the alternative hypothesis. Default is "greater". Choose between "greater", "less" or "two.sided".