Description Usage Arguments Value Examples
Convert character vector to numeric, ignoring irrelevant characters.
| 1 |   destring(x, keep = "0-9.-")
 | 
| x | A vector to be operated on | 
| keep | Characters to keep in, in bracket regular expression form. Typically includes 0-9 as well as the decimal separator (. in the US and , in Europe). | 
vector of type numeric
| 1 2 | test <- "50,762.83a"
destring(test)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.