Skip to contents

These functions provide convenient wrappers to create the three types of descriptive statistics functions in tidyhydro: measures of central tendency, variability and symmetry. They add a descriptive statistics-specific class to fn and mimic a behaviour of metrics from yardstick, while are not directly compatible with metric_set.

In order to create a measure set, one can use measure_set.

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

See also