Learn R Programming

volker (version 2.1.0)

tab_metrics_items: Output a five point summary table for multiple items

Description

Output a five point summary table for multiple items

Usage

tab_metrics_items(
  data,
  cols,
  ci = FALSE,
  digits = 1,
  labels = TRUE,
  clean = TRUE,
  ...
)

Value

A volker tibble.

Arguments

data

A tibble.

cols

The columns holding metric values.

ci

Whether to compute confidence intervals of the mean.

digits

The number of digits to print.

labels

If TRUE (default) extracts labels from the attributes, see codebook.

clean

Prepare data by data_clean.

...

Placeholder to allow calling the method with unused parameters from tab_metrics.

Examples

Run this code
library(volker)
data <- volker::chatgpt

tab_metrics_items(data, starts_with("cg_adoption_"))

Run the code above in your browser using DataLab