fn_list: Constructor for a function list

Description Usage Arguments Value Examples

View source: R/fn_list.R

Description

Constructor for a list of functions, a thin wrapper around list() which checks that all the inputs are functions and have names

Usage

1

Arguments

...

objects, must all be named

Value

a list of named functions

Examples

1
2
3
4
flist <- fn_list(
    mean = mean,
    median = median
)

CellBench documentation built on Nov. 8, 2020, 5:11 p.m.