Description Usage Arguments Value Examples
View source: R/as.numeric.fator.R
Transform factor to numeric I do not know why this is not in base package.
1 2 | ## S3 method for class 'factor'
as.numeric(x)
|
a |
factor object that you want to convert to numeric format |
A numeric vector
1 | as.numeric.factor(as.factor(c(1:5)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.