backpipe {backpipe}R Documentation

backpipe

Description

Creates backpiping operators

Usage

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

  backpipe('%>%')
  backpipe('%>>%', '%<<%')
                    

[Package backpipe version 0.2.3 Index]