fundo: A multi-function to-do list of sorts.

Description Usage Arguments Examples

View source: R/comfy-functions.R

Description

Pass multiple functions onto a single input in one call. Can be system or user-defined functions.

Usage

1
fundo(x, ...)

Arguments

x

The input on which to pass multiple functions.

...

The functions to be passed onto x.

Examples

1
2
3
4
fundo(1:7, mean, max)
fundo(1:7, mean, max, undefined_function)
get_min_col <- function(df){ "col_min" = apply(df, 2, min, na.rm = T) }
cars %>% fundo(summary, get_min_col)

tomathon-io/comfy documentation built on June 20, 2020, 1 a.m.