Description Usage Arguments Examples
View source: R/montecarlo_sim_block.R
This function computes a p-value using a monte carlo simulation with block sampling.
1 | montecarlo_sim_block(distancemat, grouplabels, N, blocks, blocksize)
|
distancemat |
A distance matrix. The output of distance_mat() |
grouplabels |
A set of labels(indices) for one of the two groups in experiment. |
levels |
Two-column matrix encoding index information for two-level point-cloud grouping. First column is whole-block shuffling partition and second column is within-block shuffling partition. |
N |
The number of permutations to be performed. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.