Description Usage Arguments Value Examples
Convert to numeric while suppressing warnings.
1 | as_numeric(x, default = NA_real_)
|
x |
A vector. |
default |
A numeric scalar. |
Numeric vector the same length as x.
1 | as_numeric(c("1", "NA", NA, "b"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.