nUnique | R Documentation |
Number of Unique Values
nUnique(x)
x |
R object that function |
Number of unique values in x
(integer)
nUnique(1:3)
nUnique(c(1, 1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.