View source: R/sideBySidePlots.R
sideBySidePlots | R Documentation |
Show multiple plots side by side in one row, using the same plotly slider (frame aesthetic) if that is used.
sideBySidePlots(ggplots, margin = 0.05)
ggplots |
A list of ggplots. These plots are converted via plotly::ggplotly, however, passing plotly plots is not allowed, because they cannot be customized anymore. When using mipIterations set the argument returnGgplots to TRUE ot get ggplots instead of plotly plots. |
margin |
Margin between plots, passed on to plotly::subplot. |
A tagList containing an h3 for the titles and the ggplots in a plotly::subplot.
Pascal Führlich
mipIterations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.