| cardinality | R Documentation |
Distinct-value count (or proportion) per column
cardinality(data, cols, prop = FALSE)
data |
A data.frame. |
cols |
Character vector of column names. |
prop |
Return the proportion of distinct values instead of the count. |
A named numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.