ripe: Replicate magrittr chain

Description Usage Arguments Value See Also Examples

View source: R/ripe.R

Description

Lazily replicate magrittr chain

Usage

1
ripe(x, f, ...)

Arguments

x

chain

f

replication function

...

arguments to pass to f

Value

object that f outputs

See Also

rerun

Other ripe: lazy()

Examples

1
2
3
4
5
6
7
stats::runif(20)%>%
 sample(4)%>%
 ripe(replicate,n=4,simplify=FALSE)
 
stats::runif(20)%>%
 sample(4)%>%
 ripe(lapply,X=1:4)

ripe documentation built on Dec. 6, 2019, 5:10 p.m.