hamming_normalized_similarity | R Documentation |
Calculates the normalized Hamming similarity between two strings.
hamming_normalized_similarity(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 similarity.
hamming_normalized_similarity("karolin", "kathrin")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.