getHammingDistance | R Documentation |
Computes all pairwise Hamming distances for a binary matrix \mathbf{X}
.
getHammingDistance(X)
X |
The |
Dependencies: hamming_bitwise from fast_dist_calc.cpp
A length {N \choose 2}
vector of pairwise Hamming distances
X <- matrix(nrow = 5, ncol = 10, rbinom(50, 1, 0.5))
getHammingDistance(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.