skim_grouped {volker}R Documentation

Calculate a metric by groups

Description

Calculate a metric by groups

Usage

skim_grouped(data, cols, cross, value = "numeric.mean", labels = TRUE)

Arguments

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.

Value

A tibble with each item in a row, a total column and columns for all groups.


[Package volker version 3.1.0 Index]