data2plotzip | R Documentation |
Make zipped plot file with a data.frame
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 )
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 |
## Not run: library(moonBook) library(ztable) library(rrtable) library(ggplot2) data2plotzip(sampleData2,path="tmp") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.