Skip to contents

This function extracts metric types from a list of objects and returns a named vector with metric type titles as names and metric type values as values.

Usage

utils_get_metric_type(input_list)

Arguments

input_list

A list of objects where each object has a 'metric_type_title' field.

Value

A named character vector with metric type titles as names and metric type values as values.

Examples

metric_types <- utils_get_metric_type(params_metrics_choice())