Description Usage Arguments Value Examples
View source: R/tidystringdist.R
Tidy stringdist calculation
1 2 | tidy_stringdist(df, v1 = V1, v2 = V2, method = c("osa", "lv", "dl",
"hamming", "lcs", "qgram", "cosine", "jaccard", "jw", "soundex"), ...)
|
df |
a dataframe containing the strings to compare |
v1 |
the name of the first columns |
v2 |
the name of the second columns |
method |
one of the methods implemented in the stringdist package <e2><80><94> "osa", "lv", "dl", "hamming", "lcs", "qgram", "cosine", "jaccard", "jw", "soundex". See |
... |
other parameters passed to |
a tibble with string distance
1 2 | proust <- tidy_comb_all(c("Albertine", "Fran<c3><a7>oise", "Gilberte", "Odette", "Charles"))
tidy_stringdist(proust)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.