Description Usage Arguments Value Examples
Use a regex to identify elements to sub out for missing NA
. Useful
within a magrittr pipeline before producing the
TermDocumentMatrix
or DocumentTermMatrix
.
1 |
x |
A vector of text strings. |
regex |
A regex to match strings in a vector. |
... |
Other arguments passed to |
Returns a vector with NA
s inserted.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.