compose_operator: composition operator

Description Usage Arguments Value Examples

Description

a It should be used to design pipes based on transducers.

Usage

1
a %.% b

Arguments

a

a function that will be composed with function b.

b

a function that takes the result of function b.

Value

The composition of the functions.

Examples

1
2
3
4
composition <- map(function(x) x + 1) %.%
   keep(function(x) x %% 3 == 0) %.%
   keep(function(x) x < 500) %.%
   take(5)

dirkschumacher/transduceR documentation built on May 15, 2019, 8:50 a.m.