data2plotzip: Make zipped plot file with a data.frame

View source: R/data2plotzip.R

data2plotzipR Documentation

Make zipped plot file with a data.frame

Description

Make zipped plot file with a data.frame

Usage

data2plotzip(
  data,
  path = ".",
  filename = "Plot.zip",
  format = "PNG",
  width = 8,
  height = 6,
  units = "in",
  res = 300,
  start = 0,
  preprocessing = "",
  rawDataName = NULL,
  rawDataFile = "rawData.RDS",
  out = NULL
)

Arguments

data

A data.frame

path

A name of destination file path

filename

A path of destination file

format

Plot format. Choices are c("PNG","SVG","PDF")

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

start

Plot start number

preprocessing

A character string of R code

rawDataName

The name of the rawData

rawDataFile

The name of the rawData file which the data are to be read from.

out

An object or NULL

Examples

## Not run: 
library(moonBook)
library(ztable)
library(rrtable)
library(ggplot2)
data2plotzip(sampleData2,path="tmp")

## End(Not run)

rrtable documentation built on April 5, 2022, 9:08 a.m.