pipe: Pipe operator

Description Arguments Examples

Description

Like dplyr, hydroutils also uses the pipe function, %>% to turn function composition into a series of imperative statements.

Arguments

lhs, rhs

A chain process to concatenate

Examples

1
2
3
4
# Instead of
ggplot(mtcars, aes(mpg, wt)) + geom_points()
# you can write
mtcars %>% ggplot(aes(mpg, wt)) + geom_points()

gavg712/hydroutils documentation built on Dec. 27, 2019, 2:22 a.m.