cf_applyPaginate | R Documentation |
use ggforce
cf_applyPaginate(pl)
pl |
(not yet facetted) ggplot |
paginateInfo |
output from cf_paginateInfo |
list of ggplots
Daniel Lill (daniel.lill@physik.uni-freiburg.de)
# adapted from ggforce examples pl <- ggplot(diamonds) + geom_point(aes(carat, price), alpha = 0.1) + facet_grid_paginate(color ~ cut:clarity, ncol = 3, nrow = 3, page = 4) plotlist <- cf_applyPaginate(pl) plotlist[[1]] plotlist[[5]] n_pages(pl) length(plotlist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.