Description Usage Arguments Value Examples
This is a wrapper to length(unique(x))
or
lengths(unique(x))
if x
is a List object
1 |
var |
a vector of values |
an integer vector
1 2 3 | x <- CharacterList(c("a", "b", "c", "a"), "d")
n_distinct(x)
n_distinct(unlist(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.