Description Usage Arguments Value
Runs the permutation test given the value of the U-statistic the number of repetitions, and the estimated latent positions Code written in Fall of 2018, so may be buggy
1 | run_perm_test(U, nsims, X, Y, dist.mat = NULL, alpha = 0.05)
|
U |
value of null U statistic |
nsims |
number of simulations |
X |
estimates for latent positions 1 |
Y |
estimates for latent positions 2 |
dist.mat |
Optional, a distance matrix precalculated already so as not to recalculate. If null, the function is recursively run to calculate it |
alpha |
the rejection level |
either an estimated p-value under the null or the vector of permuted test statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.