Description Usage Arguments Value See Also Examples
Silent wrapper for coercing a vector to numeric
1 2 | ## S3 method for class 'silent'
as.numeric(x)
|
x |
vector of any type |
If as.numeric(x)
produces an error or warning,
x
is returned unchanged. Otherwise,
as.numeric(x)
is returned.
1 2 | as.numeric.silent(c("this","that"))
as.numeric.silent(c("2893.9","9423.48"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.