data2plotzip: Make zipped plot file with a data.frame

Description Usage Arguments Examples

View source: R/data2plotzip.R

Description

Make zipped plot file with a data.frame

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data2plotzip(
  data,
  path = ".",
  filename = "Plot.zip",
  format = "PNG",
  width = 8,
  height = 6,
  units = "in",
  res = 300,
  start = 0,
  preprocessing = "",
  rawDataName = NULL,
  rawDataFile = "rawData.RDS"
)

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.

Examples

1
2
3
4
5
library(moonBook)
library(ztable)
library(rrtable)
library(ggplot2)
data2plotzip(sampleData2,path="tmp")

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