Description Usage Arguments Details Value Examples
Input functions should be ordered from innermost to outtermost. All arguments are passed to the innermost function, whose formal arguments are transferred exactly to the composed function.
1 |
... |
two or more functions |
The composed function is a member of the environment in which 'compose' was called. The composition does not copy the constituent functions, but rather searches for them in the parent frame. So, given 'foo <- compose(f,g,h)' calling ‘foo()' is exactly equivalent to calling 'h(g(f))()' in foo’s parental environment.
A function that is a composition of the input functions
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.