Skip to contents

These functions provide convenient wrappers to create the three types of measure functions in tidyhydro: measures of central tendency, variability and symmetry. They add a measure-specific class to fn and mimic a behaviour of metric_set. These features are used by measure_set.

See Custom performance metrics for more information about creating custom metrics.

Usage

new_tendency_measure(fn)

new_var_measure(fn)

new_sym_measure(fn)

Arguments

fn

A function. The measure function to attach a measure-specific class