metric_group: Create a metric group

Description Usage Arguments

Description

Create a metric group

Usage

1
create_metric_group(tbl, group_name = NULL, rmd_file = NULL)

Arguments

tbl

A wide table of metrics

group_name

An optional underscore separated string as group_name. If not specified, the category and subcategory of the metrics in tbl are concatenated to form the group_name. Specify a custom group_name only if you are trying to save multiple metric groups in the same Rmd.

rmd_file

The Rmd file that generated the compact metrics, which has documentation for the metrics and dimensions stored in the YAML front matter. If no Rmd file is given, it uses the currently running one.


datacamp/tidymetrics documentation built on March 21, 2021, 3:28 a.m.