pageLayoutCol | R Documentation |
Generate column positions for a number of plot elements with a specified width and space between them
pageLayoutCol(x, width, space, n, default.units = "inches")
x |
A numeric or unit object specifying the starting column x-position. |
width |
A numeric or unit object specifying the width of columns. |
space |
A numeric or unit object specifying the space between columns. |
n |
An integer specifying the number of elements to generate column positions for. |
default.units |
A string indicating the default units to use
if |
Returns a unit vector of page positions.
# Starting at 0.5 units, return a vector of positions for 3 objects that
# are 2 units in width with 0.1 units of space between them
pageLayoutCol(x = 0.5, width = 2, space = 0.1, n = 3,
default.units = "inches")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.