Description Usage Arguments Examples
Returns a count of duplicate values for each duplicated value. That is, if you have a column that is supposed to be unique, but there are two instances of a given value, it will return a count of 2 for that value.
1 | count_dups(df, ..., sort = FALSE)
|
df |
The source dataframe |
... |
A select style set of variables to check for duplicates. |
sort |
whether to sort the results by the number of duplicates. Default is FALSE |
1 | count_dups(iris, Sepal.Width, Sepal.Length)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.