as.numeric.wNames.factor | R Documentation |
Turn any vector into numeric categories as.numeric(as.factor(vec)) Forerly as.factor.numeric
## S3 method for class 'wNames.factor'
as.numeric(vec, ...)
vec |
vector of factors, strings, (or even logical) |
... |
Pass any other argument to as.factor() |
as.numeric.wNames.factor(LETTERS[1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.