tableSave: Save a tableplot

Description Usage Arguments Examples

Description

Save a tableplot in pdf, eps, svg, wmf, png, jpg, bmp, or tiff format.

Usage

1
2
3
4
tableSave(tab, filename = paste(tab$dataset, ".pdf", sep = ""),
  device = default_device(filename), path = NULL, scale = 1,
  width = par("din")[1], height = par("din")[2], dpi = 300,
  onePage = TRUE, ...)

Arguments

tab

a tabplot-object, or a list of tabplot-objects, which are either stacked horizontally or put on multiple pages (for pdf only)

filename

filename with extention (pdf, eps, svg, wmf, png, jpg, bmp, or tiff)

device

device, automatically extracted from filename extension

path

path to save to

scale

scaling factor

width

width (in inches)

height

height (in inches)

dpi

dpi to use for raster graphics

onePage

if true, multiple tab objects are stacked horizontally, else they are printed on multiple pages

...

other arguments passed to plot or the used graphics device

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
require(ggplot2)
data(diamonds)

# default tableplot
tab <- tableplot(diamonds)

# save tableplot
tableSave(tab, filename="diamonds.png", title="Shine on you Crazy Diamond!!!")

## End(Not run)

tabplot documentation built on Sept. 17, 2019, 5:04 p.m.