makeGallery | R Documentation |
Takes a list of components and/or layers and creates a section that contains a grid of sections which each contain one item from the original list.
makeGallery( inputList, nRow, width = unit(1, "npc"), height = unit(1, "npc"), x = unit(0, "npc"), y = unit(0, "npc"), xscale = NULL, yscale = NULL, useGlobalScale = FALSE, units = list(), preserveAspectRatio = FALSE )
nRow |
number of rows in the gallery. |
width, height, x, y |
parameters for the final section |
xscale, yscale |
a scale to use for each child section. If not provided these are calculated. See useGlobalScale. |
useGlobalScale |
if FALSE child scaling calculations are independent. If TRUE, scales are adjusted so each child has the same scales, and all components are visible. Ignored if xscale and yscale are provided. |
units |
provided to each child section |
preserveAspectRatio |
logical. Used if scales are automatically calculated. |
Returns a section object.
pruneStart(1:10,4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.