Description Usage Arguments Value Examples
Count words from a vector that are not found in the same position in another vector.
1 | str_count_positional_nomatch(x, y, ratio = FALSE)
|
x |
A vector of words. |
y |
A vector of words to test against. |
ratio |
TRUE/FALSE, if TRUE, returns the number of words in x without a positional match in y divided by the number of words in x. |
A count of the words in x without matches in the same position in y.
1 2 3 4 | str_count_positional_nomatch(
x = c("a", "cool", "dog", "went", "to", "the", "store"),
y = c("a", "dog", "ran", "from", "the", "store")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.