View source: R/arrangeFunctions.R
arrangePanels | R Documentation |
The arrangePanels function creates a new viewport with a grid layout, and directs the input trees to be drawn at positions within the new layout. The new layout is filled by rows.
arrangePanels(
name,
subTrees,
nrow,
ncol,
spacer = unit(0, "cm"),
margin = unit(0, "cm"),
just = c(0.5, 0.5)
)
name |
Character string naming the new viewport (will have suffix "VP") |
subTrees |
gTrees to be arranged in the new panel |
nrow |
Numeric, number of rows in the new layout |
ncol |
Numeric, number of columns in the new layout |
spacer |
Grid |
margin |
Grid |
just |
Numeric or character vector specifying justification of tree
viewports within panel viewport layout cells.
See |
List containing grobList (a list of modified gTrees) and vp, the new viewport object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.