compose2: compose multiple functions

Description Usage Arguments Examples

Description

compose2 is similar to purrr::compose, except that the leftmost functions are applied first, it supports formula notation and named argument lists, and a few additional features'

Usage

1
compose2(..., .args = NULL, .from_right = FALSE, .skip = NULL)

Arguments

...

functions, formulas, or lists of arguments, in which case the argument should be named as the function that should be called

.args

general arguments that will be applied when relevant according to their names

.from_right

boolean, TRUE for traditional composition order, FALSE by default

.skip

numeric of character indices of function arguments to ignore (useful for debugging)

Examples

1
2
3
4
5

moodymudskipper/composer documentation built on May 17, 2019, 3 p.m.