powered by
This function is similar to the facet_* family of functions from the ggplot2 package.
facet_*
ggplot2
plane_wrap(g2, ..., type = c("list", "rect", "circle", "tree", "mirror", "matrix"), sync = TRUE)planes(...)
planes(...)
An object of class g2r as returned by g2r.
g2r
Planes, bare column names or NULL.
NULL
The type of facet to user.
Wether to sync the planes and main mapping that were passed g2
sync
planes
g2
list
rect
circle
mirror
tree
# NOT RUN { iris %>% g2(asp(Petal.Length, Petal.Width, color = Species)) %>% fig_point() %>% plane_wrap(planes(Species)) # }
Run the code above in your browser using DataLab