skim_grouped | R Documentation |
Calculate a metric by groups
skim_grouped(data, cols, cross, value = "numeric.mean", labels = TRUE)
data |
A tibble. |
cols |
The item columns that hold the values to summarize. |
cross |
The column holding groups to compare. |
value |
The metric to extract from the skim result, e.g. numeric.mean or numeric.sd. |
labels |
If TRUE (default) extracts labels from the attributes, see codebook. |
A tibble with each item in a row, a total column and columns for all groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.