Description Usage Arguments Value
Function to generate the U-statistic given the latent positions X and Y and an optional choice of sigma. Original code by Youngser Park.
1 2 |
X |
n x d datset |
Y |
m x d dataset |
sigma |
for the kernel |
dist |
optional, the precalculated kernel matrix |
i1 |
sets of indices of X to run the permutation test |
i2 |
sets of indices of X to run the permutation test |
the kernel statistic evaluated at the specified indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.