save_multiplot: Save Object with multiple viewports as .png For each plot...

Description Usage Arguments

View source: R/save.R

Description

Save Object with multiple viewports as .png For each plot provided in 'plot' argument, there should be a corresponding viewport in 'vp' argument (where first plot object corresponds to first viewport object, etc.).

Usage

1
2
3
save_multiplot(x, sub = get_sub(), main = get_main(), caption = "",
  report = TRUE, width = NA_real_, height = NA_real_, dpi = 300,
  ask = getOption("subfoldr.ask", TRUE), plot, vp)

Arguments

x

A string of the plot name.

sub

A string of the path to the directory to save the object.

main

A string of the main subfolder.

caption

A string of the figure caption.

report

A flag indicating to include the plot in reports.

width

A number indicating the width of the plot in inches.

height

A number indicating the height of the plot in inches.

dpi

A number indicating plot resolution.

ask

A string indicating whether to ask before creating a sub directory.

plot

A list containing plot objects.

vp

A list containing viewport objects.


poissonconsulting/subfoldr documentation built on Feb. 18, 2021, 11:17 p.m.