WriteJpeg: WriteJpeg

Description Usage Arguments Details

View source: R/supporting_functions.R

Description

WriteJpeg Saves the plot as a jpeg

Usage

1
WriteJpeg(plt, plt.title, w = 10, h = 6, u = "in", r = 500)

Arguments

plt

(ggplot plot object) plot to write to file

plt.title

(character string) title of the plot, used to name the output file

w

(integer, optional with default value of 10) width of graphics device

h

(integer, optional with default value of 6) height of graphics device

u

(character, optional with default value of "in") the units in which height and weight are given. Can be "in", "px", "cm", or "mm".

r

(integer, optional with default value of 500) nominal resolution in ppi

Details

Opens the jpeg graphics device with the specified settings and saves the plot to an image file (.jpeg)


aWhereAPI/aWhere-R-Charts documentation built on Dec. 30, 2021, 12:58 p.m.