Calculate a metric by groups
skim_grouped(data, cols, cross, value = "numeric.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. numeric.mean or numeric.sd.
If TRUE (default) extracts labels from the attributes, see codebook.