maybe_get_data_summary_math: Gets a summary value already computed in a data_summary

View source: R/utilities.R

maybe_get_data_summary_mathR Documentation

Gets a summary value already computed in a data_summary

Description

Gets a value from a stype vector's data_summary in the case the summary is auto computed AND the na.rm argument is TRUE.

Usage

maybe_get_data_summary_math(summary_name, .fn, .x, ...)

Arguments

summary_name

name of the value in the stype's data_summary

.fn

A mathematical function from the base package, as a string.

.x

A vector.

...

Additional arguments passed to .fn.


novisci/stype documentation built on July 28, 2022, 7:44 a.m.