Description Usage Arguments Examples
Robustly converts objects to numerics, converts factors to numeric as number dicplayed not reference category.
1 | to_numeric(x)
|
x |
An R object. Accepts three forms of the extract operator, the slot operator is untested. |
1 2 | x <- sample(1:100, size = 100, replace = TRUE)
to_numeric(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.