geckoImagePrepare: Helper function to get an image prepared for Geckoboard Image

View source: R/geckoImagePrepare.R

geckoImagePrepareR Documentation

Helper function to get an image prepared for Geckoboard Image

Description

Helper function to get an image prepared for Geckoboard Image. Call this before creating a plot using e.g. plot or ggplot.

Usage

geckoImagePrepare(filePath, size = "1x1", retina = FALSE, device = jpeg,
                 adjustTitleRow = FALSE, quality = 100, ...)

Arguments

filePath

Full file path.

size

Size in Geckoboard grid lines.

retina

TRUE if resolution should be twice as standard.

device

Graphics Device used. Available: PNG or JPEG.

adjustTitleRow

Should image be smaller for a title row?

quality

For JPEG.

...

Additional parameters to the device function.

Value

Nothing is returned.

Author(s)

Meinhard Ploner


ploner/RGeckoboard documentation built on Oct. 22, 2023, 9:27 p.m.