View source: R/numeric_to_factor.r
TODO: Make this faster
1 | numeric_to_factor(num, levs, na.to.missing = TRUE)
|
num |
a numeric atomic vector. Will be restored to a factor variable. |
levs |
a character vector of levels. |
na.to.missing |
a logical. Whether to convert NAs to a "Missing" level. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.