Description Usage Arguments Value Examples
View source: R/detect_factors.R
This function checks whether the length of the factor is equal to the length of the unique values.
1 |
x |
a factor |
boolean; TRUE
if input should be considered as factor,
FALSE
if input should be considered as character
1 2 | detect_factors(factor(c("a","b","a")))
detect_factors(factor(c("a","b","c")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.