Takes a "metrics-styled" data.frame with
Usage
select_choices(metrics_df, metric_col_values, category_col, metric_col_names)
Arguments
- metrics_df
tbl See description
- metric_col_values
chr column name with values
- category_col
chr column name with categories
- metric_col_names
chr column name with names (if there are names)
Value
chr/list list if category_col supplied, otherwise character vector