powered by
Make zipped plot file with a data.frame
data2plotzip(data, path = NULL, filename = "Plot.zip", format = "PNG", width = 8, height = 6, units = "in", res = 300, start = 0, preprocessing = "", rawDataName = NULL, rawDataFile = "rawData.RDS")
A data.frame
A name of destination file path
A path of destination file
Plot format. Choices are c("PNG","SVG","PDF")
A plot width
A plot height
The units in which height and width are given. Can be px (pixels, the default), in (inches), cm or mm.
The nominal resolution in ppi
Plot start number
A character string of R code
The name of the rawData
The name of the rawData file which the data are to be read from.
# NOT RUN { library(moonBook) library(ztable) library(rrtable) library(ggplot2) data2plotzip(sampleData2,path="tmp") # }
Run the code above in your browser using DataLab