Description Usage Arguments Examples
View source: R/wordly_functions.R
Takes in output from the 'expand_matrix_text' function and returns the Levenshtein distance between each word-by-word combination.
1 | leven_dist(mat_in, col_num_1 = 1, col_num_2 = 2)
|
mat_in |
The output from the 'expand_matrix_text' function. |
col_num_1 |
The numerical column index for the first column of words. |
col_num_2 |
The numerical column index for the second column of words. |
1 2 | leven_dist(expand_matrix_text(c("duck", "pig", "cat"), c("dog", "cat")))
leven_dist(expand_matrix_text("HEllo I'm me", "hI tHeRe"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.