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

Description Usage Arguments Examples

Description

magrittr operator with giving nothing to first argment

Usage

1
lhs %.% 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
# `2 %>% {rep(5, .)} %>% sqrt`
#
2 %.% rep(5, .) %>% sqrt

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