openimage: Function to open graphical devices of all kind

Description Usage Arguments

View source: R/figs.R

Description

This wrapper function will open image devices, without having to call different functions.

Usage

1
2
openimage(name = NULL, path = "", format = NULL, width = NULL,
  height = NULL)

Arguments

name

Character string. The name of the file without the extension. Leaving this the default NULL will open an x11 window.

path

Character strings. The path to the file that you want. I decided to keep this separate as many times I use separater variables to indicate folder structure.

format

Character string. The used device/file extension. If left as NULL, then the function will open an x11 window.

width

The width of the plot

height

The height of the plot.


adamkocsis/restools documentation built on June 14, 2021, 3:27 a.m.