Description Usage Arguments Value Examples
Remove words from a vector that don't have a minimum number of characters.
1 | str_rm_short_words(x, min_char_length)
|
x |
A vector of words. |
min_char_length, |
An integer, the minimum number of characters a word can have to not be removed. |
x, with the words not having a character count greater than or equal to the min_char_length removed.
1 2 3 4 | str_rm_short_words(
x = c("a", "dog", "went", "to", "the", "store"),
min_char_length = 3
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.