Description Usage Arguments Value See Also Examples
Return the number of unique values
1 | n_distinct(x)
|
x |
Vector |
Number of unique values of x
Other utility functions: between,
cumall, cumany,
cummean, distribute,
first, lag,
last, lead,
n_groups, nth,
n
1 | n_distinct (c(1, 2, 3, 3, 3, 4, 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.