ggplot_handler: Handles 'ggplot2' Objects

Description Usage Arguments Value

View source: R/ggplot.R

Description

Returns a function that converts 'ggplot2' plots to appropriate format and format itself. PNG and SVG are supported.

Usage

1
ggplot_handler(dpi = 300, width = NA, height = NA, format = "png")

Arguments

dpi

DPI, default is 300.

width

Image width.

height

Image height.

format

Image format to use, can be "png" or "svg", by default PNG will be used.

Value

A list which contains conversion function and format inself.


dstack documentation built on Aug. 12, 2020, 5:08 p.m.