charToNumeric | R Documentation |
This differs from as.numeric in that it returns NULL instead of NA if there is no valid output. Also performs basic substitution such as removing spaces and commas.
charToNumeric(x)
x |
The text to be converted to numbers |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.