Built as a wrapper around ggsave, this function facilitates the export of xpose plots.
xpose_save( plot = last_plot(), file = NULL, dir = NULL, device = NULL, scale = 1, width = 7, height = 6, units = c("in", "cm", "mm", "px"), dpi = 200, limitsize = TRUE, bg = NULL, ... )
A xpose plot object.
A name with file extension (if device is
Directory under which the xpose plots will be saved. Template
variables such as
Graphical device to use. Can be either be a device function
Multiplicative scaling factor.
|width, height, units||
Plot size in in
Plot resolution. Also accepts a string input: "retina" (320), "print" (300), or "screen" (72). Applies only to raster output types.
Background color. If
Other arguments passed on to the graphics device function, as