pageCreate | R Documentation |
Create a page for a plotgardener layout
pageCreate(
width = 8.5,
height = 11,
default.units = "inches",
bg = NA,
xgrid = 0.5,
ygrid = 0.5,
showGuides = TRUE,
params = NULL
)
width |
A numeric or unit object specifying page width.
Default value is |
height |
A numeric or unit object specifying page height.
Default value is |
default.units |
A string indicating the default units to use if
|
bg |
Character value indicating page background color.
Default value is |
xgrid |
A numeric indicating the increment by which to place
vertical gridlines. Default value is |
ygrid |
A numeric indicating the increment by which to place
horizontal gridlines. Default value is |
showGuides |
A logical value indicating whether to draw a
black border around the entire page and guiding rulers along the top and
left side of the page. Default value is |
params |
An optional pgParams object containing relevant function parameters. |
width
and height
must be specified in the same units.
None.
## Create a 6-inch wide, 4.5-inch high page
pageCreate(width = 6, height = 4.5, default.units = "inches")
## Create a 14-cm wide, 10-cm high page
pageCreate(width = 14, height = 10, default.units = "cm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.