Compute the clustermass test correction given a matrix a permuted statistical signals.
compute_clustermass(distribution, threshold, aggr_FUN, alternative = "greater")A matrix of permuted statistical signal. The first row indicating the observed statistics.
A scalar that respresents the threshold to create the clusters.
A function to compute the clustermasses. See details for examples.
A character string indicating the alternative hypothesis. Default is "greater". Choose between "greater", "less" or "two.sided".
The aggr_FUN argument may take predefined function as the sum: aggr_FUN = sum and also user-defined function as the sum of squares: aggr_FUN = function(x){sum(x^2)}
Other multcomp:
compute_clusterdepth_head(),
compute_clusterdepth(),
compute_maxT(),
compute_minP(),
compute_stepdownmaxT(),
compute_tfce(),
compute_troendle()