count_unique | R Documentation |
From a data frame get the columns with more than one distinct value.
count_unique(df, col_names = NULL)
df |
A data frame. |
col_names |
A vector of column names to inspect. |
A named logical vector where TRUE
means there is more than one
distinct value in the column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.