perm_dist: Extracts the test statistics
Description
Extracts the test statistics from the output of the permute function.
Returns the largest value from a specified subset of rows, each row is the test
statistic from a different null hypothesis.
Usage
perm_dist(out, positions)
Value
Vector of numeric values of length ncol(out)
Arguments
- out
Array output by the permute function
- positions
Vector indicating which rows of out to use