hamming_normalized_distance | R Documentation |
Calculates the normalized Hamming distance between two strings.
hamming_normalized_distance(s1, s2, pad = TRUE)
s1 |
The first string. |
s2 |
The second string. |
pad |
If true, the strings are padded to the same length (default: TRUE). |
A value between 0 and 1 representing the normalized distance.
hamming_normalized_distance("karolin", "kathrin")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.