| getBinVStat | R Documentation |
Computes V statistic for a binary matrix \mathbf{X}, as defined in
Aw, Spence and Song (2023).
getBinVStat(X)
X |
The |
Dependencies: getHammingDistance
V(\mathbf{X}), the variance of the pairwise Hamming distance between samples
X <- matrix(nrow = 5, ncol = 10, rbinom(50, 1, 0.5))
getBinVStat(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.