compose: Function composure

Description Usage Arguments Value Author(s)

View source: R/compose.R

Description

Returns a function which is the composure of the functions provided. They are applied in the reverse order that they are supplied (to match traditional mathematical notation, g o f.

Oh god what have I created? It returns a function that is the composition of g with f.

Usage

1
2
3
  compose(...)

  g %c% f

Arguments

...

functions

g

applied second

f

applied first

Value

a function

Author(s)

Grady Weyenberg


grady/evol-mc documentation built on May 14, 2017, 2:05 p.m.