bind-list: Bind each element of a list

Description Usage Arguments Details

Description

The bind operator for an object of class "list" binds the function or block on the right-hand side for each element in the list, returning the result. That is, for each element elt in lhs, apply elt %>>=% rhs and collect the outputs.

Usage

1
2
## S3 method for class 'list'
lhs %>>=% rhs

Arguments

lhs

An object of class "list".

rhs

A function or block, bound to each element of lhs successively.

Details

The right-hand side syntax is largely identical to that of the pipe operator, %>%.


atheriel/rrails documentation built on May 4, 2019, 1:07 p.m.