Description Usage Arguments Examples
Unique values of a factor
1 | fct_unique(f)
|
f |
A factor. |
1 2 3 4 | f <- factor(letters[rpois(100, 10)])
unique(f) # in order of appearance
fct_unique(f) # in order of levels
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.