hamming | R Documentation |
Find hamming distance between many strings
hamming(strings1, strings2 = NULL, oneToOne = FALSE, cutoff = 99999, vocal = 0)
strings1 |
vector of strings to compare to strings2 (or as strings1 x strings1 if strings2==NULL) |
strings2 |
vector of strings to compare to strings1 or NULL (either strings1 or strings2 should be 1 or should have equal lengths) |
oneToOne |
compare strings1[1] to strings2[1], strings1[2] to strings2[2],... (both vectors must be same length) |
cutoff |
an integer giving a distance to stop checking beyond and instead return the cutoff value |
vocal |
Integer to display a status message every vocal iterations |
Hamming distance matrix
Scott Sherrill-Mix R@sherrillmix.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.