castNumeric | R Documentation |
Convert strings to numeric if possible, otherwise remains as is.
castNumeric(x)
x |
A string. |
A string, converted to numeric if possible.
castNumeric("100")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.