figure1: Saves last figure as png and as pdf

Description Usage Arguments Value

View source: R/common.R

Description

Saves last figure as png and as pdf

Usage

1
2
figure1(title_, p, sub_title = FALSE, title = !sub_title, width = 4,
  height = 4, units = "in", res = 600, ...)

Arguments

title_

filename for save optional title for the plot

p

unevaluated expression that performs the plot

sub_title

title_ will be added as sub title to the plot if set

title

title_ will be added as title to the plot if set

width

numeric, width of the saved plots

height

numeric, height of the saved plots

units

character, unit of width and height values

res

numeric, resolution of the saved plots

...

further arguments passed to png() and pdf()

Value

p evaluated


jan-glx/pertInv documentation built on May 29, 2019, 7:13 a.m.