lengthunique | R Documentation |
Returns the number of unique elements in a vector
lengthunique(x)
x |
A vector |
Integer representing count of unique elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.