| cluster_nhds | R Documentation | 
Generate null-hypothesis distributions for cluster mass statistics
cluster_nhds(n, .data, bin, formula, fn, ...)
| n | Number of Monte Carlo runs | 
| .data | Data frame. | 
| bin | Unquoted name of variable identifying bins. | 
| formula | Model formula, passed to  | 
| fn | Unquoted name of function to use for exchanging labels. | 
| ... | Arguments to be passed to  | 
Generates null-hypothesis distributions by the following algorithm: For each of the n Monte Carlo runs, (1) randomly permute labels in the dataset according to the relabeling function fn; (2) run aov_by_bin on the resulting data, the result of which is passed to (3) detect_clusters_by_effect, and (4) store the maximum cluster mass statistic for each effect on each run.
A data frame with null-hypothesis distributions for each effect in the column nhd.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.