count_unique | R Documentation |
Returns a vector of the number of unique values of each variable in a data frame. Any NA entries are included as a unique value.
count_unique(df)
df |
A data frame. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.