removeNumbers | R Documentation |
Remove numbers from a text document.
## S3 method for class 'character'
removeNumbers(x, ucp = FALSE, ...)
## S3 method for class 'PlainTextDocument'
removeNumbers(x, ...)
x |
a character vector or text document. |
ucp |
a logical specifying whether to use Unicode character
properties for determining digit characters. If |
... |
arguments to be passed to or from methods;
in particular, from the |
The text document without numbers.
getTransformations
to list available transformation
(mapping) functions.
https://unicode.org/reports/tr44/#General_Category_Values.
data("crude")
crude[[1]]
removeNumbers(crude[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.