Generic for wrapping facets
Arguments
- plot
A plotit object.
- ...
Unnamed arguments are faceting variables (e.g.
Species); named arguments (labeller,strip.position,dir,drop, ...) are passed through toggplot2::facet_wrap().- nrow
Number of rows in the facet grid (optional).
- ncol
Number of columns in the facet grid (optional).
- scales
Should scales be fixed ("fixed"), free ("free"), or free in one dimension ("free_x", "free_y")?
Examples
plotit(iris, encode(x = Sepal.Width, y = Sepal.Length)) |>
mark_point() |>
split_wrap(Species, ncol = 3)