util-ggsaveKmg2: A Modified Function of 'ggsave' for 'recordedplot' Class...

Description Usage Arguments See Also

Description

This is a modified function of ggsave for recordedplot class objects.

Usage

1
2
3
4
ggsaveKmg2(filename = default_name(plot), plot = last_plot(),
  device = default_device(filename), path = NULL, scale = 1,
  width = par("din")[1], height = par("din")[2], units = c("in", "cm",
  "mm"), dpi = 300, ...)

Arguments

filename

file name/filename of plot

plot

plot to save, defaults to last plot displayed

device

device to use, automatically extract from file name extension

path

path to save plot to (if you just want to set path and not filename)

scale

scaling factor

width

width (defaults to the width of current plotting window)

height

height (defaults to the height of current plotting window)

units

units for width and height when either one is explicitly specified (in, cm, or mm)

dpi

dpi to use for raster graphics

...

other arguments passed to graphics device

See Also

ggsave



Search within the RcmdrPlugin.KMggplot2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.