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
)A numeric or unit object specifying page width.
Default value is width = 8.
A numeric or unit object specifying page height.
Default value is height = 11.
A string indicating the default units to use if
width or height are only given as numerics.
Default value is default.units = "inches".
Character value indicating page background color.
Default value is bg = NA.
A numeric indicating the increment by which to place
vertical gridlines. Default value is xgrid = 0.5.
A numeric indicating the increment by which to place
horizontal gridlines. Default value is ygrid = 0.5.
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 showOutline = TRUE.
An optional pgParams object containing relevant function parameters.
None.
width and height must be specified in the same units.
## 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")