Description Usage Arguments Value Examples
counts all unique row occurrences, returns a data frame with a count for each row
1 | unique_counts(data, include_percent = TRUE, .checkAssertions = TRUE)
|
data |
a data frame or tibble type object |
include_percent |
whether a column should be added to show group percentages |
.checkAssertions |
private variable used to check function assertions (if first in chain) |
a grouped data frame of unique rows with column count ( and percent )
1 2 | unique_counts(cars)
unique_counts(iris, include_percent = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.