simplenumber | R Documentation |
Title Remove letters and special characters from a string to return a numeric value
simplenumber(x, fill = NULL)
x |
string or vector with numeric values for cleaning |
fill |
Value to fill empty values with. Default NULL will not fill empty values |
number or vector of numbers
# x <- c("dfju", "LASK3", "dfpisdu092", "9376", 3098)
# x <- simplenumber(x, fill = -1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.