Learn R Programming

teal.reporter (version 0.6.0)

.determine_default_dimensions: Determine default dimensions for report figures

Description

Determine default dimensions for report figures

Usage

.determine_default_dimensions(x, convert_to_inches = FALSE, dpi = 96)

Value

List with width and height elements.

Arguments

x

An object, typically a recordedplot or ggplot, that has an optional attributes dev.width and dev.height that override the default dims set as options teal.reporter.dev.fig.width and teal.reporter.dev.fig.height.