grapes-T.-grapes: magrittr tee operator with giving nothing to first argment

Description Usage Arguments Examples

Description

magrittr tee operator with giving nothing to first argment

Usage

1
lhs %T.% rhs

Arguments

lhs

a value or the magrittr placeholder.

rhs

a function call using the magrittr semantics.

Examples

1
2
3
4
5
6
7
require(magrittr)

#
# this is equivalent to
# 1:2 %T>% {plot(0:3, xlim = .)} %>% sqrt
#
1:2 %T.% plot(0:3, xlim = .) %>% sqrt

hosscine/myfs documentation built on May 25, 2019, 6:20 p.m.