fn_list: Constructor for a function list

View source: R/fn_list.R

fn_listR Documentation

Constructor for a function list

Description

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

Usage

fn_list(...)

Arguments

...

objects, must all be named

Value

a list of named functions

Examples

flist <- fn_list(
    mean = mean,
    median = median
)

Shians/CellBench documentation built on Oct. 16, 2023, 7:54 a.m.