Description Usage Arguments Value
Try to convert a value to numeric. If unsuccessful, return the original value.
1 | try_numeric(x)
|
x |
Vector to be converted |
'as.numeric(x)' if successful, or unaltered 'x' if not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.