backpipe: backpipe

Description Usage Arguments Details References See Also Examples

Description

Creates backpiping operators

Usage

1
backpipe(pipe, backpipe = gsub(">", "<", pipe))

Arguments

pipe

character; string representing the existing pipe operator

backpipe

character; string representing the desired backpipe operator

Details

Only pipe is necessary. Arbitrary mixing of forward and reverse are not allowed.

References

https://github.com/smbache/magrittr/issues/26
http://stackoverflow.com/questions/31305342/is-right-to-left-operator-associativity-in-r-possible

See Also

%>%
%>>%

Examples

1
2
3
  backpipe('%>%')
  backpipe('%>>%', '%<<%')
                    

decisionpatterns/backpipe documentation built on May 15, 2019, 1:55 a.m.