See magrittr::%>% for details.

lhs %>% rhs

Arguments

lhs

A value or the magrittr placeholder.

rhs

A function call using the magrittr semantics.

Value

The result of calling `rhs(lhs)`.

Examples

seq_len(5) %>% sum()
#> [1] 15