Description Usage Arguments Value
Get if two names are similar based on the distance between them. If the difference is superior of the threshold, then there is no match
1 2 3 4 5 6 | is_similar(
name1,
name2,
threshold = 1,
r_letters = c(K = "C", W = "V", Y = "I", Z = "S")
)
|
name1 |
vector of names (character type) |
name2 |
vector of names (character type) |
threshold |
integer, max difference between two words (see namedist) |
r_letters |
named vector of letter to replace (see replace_letters) |
TRUE or false based on the threshold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.