layout_mat | R Documentation |
Create a layout matrix that can be used with gridExtra to arrange ggplot objects. The dimensions of the matrix are chosen automatically from the number of plots to create a rectangular arrangement (portrait) of sufficient size.
layout_mat(n)
n |
number of plots in final layout |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.