Calculate a metric by groups
skim_grouped(data, cols, cross, value = "mean", labels = TRUE)A tibble with each item in a row, a total column and columns for all groups.
A tibble.
The item columns that hold the values to summarize.
The column holding groups to compare.
The metric to extract from the skim result, e.g. mean or sd.
If TRUE (default) extracts labels from the attributes, see codebook.