multi.argument.Compose: Composition with multiple arguments.

multi.argument.ComposeR Documentation

Composition with multiple arguments.

Description

Thanks, Alexander Davis!

Usage

multi.argument.Compose(...)

Arguments

...

the functions to be composed

Value

A composed function

Examples

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

functional documentation built on June 24, 2026, 9:08 a.m.