facet_grid_paginate | R Documentation |
This extension to ggplot2::facet_grid()
will allow you to split
a facetted plot over multiple pages. You define a number of rows and columns
per page as well as the page number to plot, and the function will
automatically only plot the correct panels. Usually this will be put in a
loop to render all pages one by one.
facet_grid_paginate( ..., shrink = TRUE, ncol = NULL, nrow = NULL, page = 1, byrow = TRUE )
... |
Args to pass along to facet_grid. |
shrink |
If |
ncol |
Number of columns per page |
nrow |
Number of rows per page |
page |
The page to draw |
byrow |
Should the pages be created row-wise or column wise |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.