plotPNG2: Make png file with a plot code

Description Usage Arguments

View source: R/data2plotzip.R

Description

Make png file with a plot code

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plotPNG2(
  x,
  file,
  type,
  width = 7,
  height = 7,
  units = "in",
  res = 300,
  ggplot = FALSE,
  preprocessing = ""
)

Arguments

x

A R code string for plot

file

A path of destination file

type

A character

width

A plot width

height

A plot height

units

The units in which height and width are given. Can be px (pixels, the default), in (inches), cm or mm.

res

The nominal resolution in ppi

ggplot

A logical. Set this argument true if the R code is for ggplot

preprocessing

preprocessing


rrtable documentation built on April 2, 2020, 5:09 p.m.