Composition with multiple arguments.
Thanks, Alexander Davis!
multi.argument.Compose(...)
... |
the functions to be composed |
A composed function
f <- function(x, y) x+y g <- function(x) x*2 stopifnot(multi.argument.Compose(f, g)(1,1) == 4)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.