Description Usage Arguments Value Examples
Should this really be a factor?
1 |
x |
factor |
boolean; TRUE
if the number of unique values does not equal to the length, and FALSE
otherwise.
1 2 3 4 5 6 7 8 | abb <- factor(c("a", "b", "b"))
abc <- factor(c("a", "b", "c"))
# This should be a factor:
should_factor_stay_factor(abb)
# This should not be a factor
should_factor_stay_factor(abc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.