pipe: Pipe graphics

Description Arguments Examples

Description

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

Arguments

lhs,rhs

A visualisation and a function to apply to it

Examples

1
2
3
4
# Instead of
layer_points(ggvis(mtcars, ~mpg, ~wt))
# you can write
mtcars %>% ggvis(~mpg, ~wt) %>% layer_points()

rpruim/ggvis2 documentation built on May 28, 2019, 2:34 a.m.