multi.argument.Compose: Composition with multiple arguments.

Description Usage Arguments Value Examples

View source: R/functional.R

Description

Thanks, Alexander Davis!

Usage

1

Arguments

...

the functions to be composed

Value

A composed function

Examples

1
2
3
f <- function(x, y) x+y
g <- function(x) x*2
stopifnot(multi.argument.Compose(f, g)(1,1) == 4)

functional documentation built on May 19, 2017, 7:01 a.m.

Search within the functional package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.