ppdf | R Documentation |
sends quick plot to ~public_html/plot.pdf. If PPDF.DIR env variable defined, then will send to that directory (i.e. instead of public_html) Useful for doing quick standard plots to a static location which one views through tabs in Chrome or other web browser.
ppdf(
expr,
filename = "plot.pdf",
height = 10,
width = 10,
cex = 1,
title = NULL,
byrow = TRUE,
dim = NULL,
cex.title = 1,
...
)
expr |
Plotting expression eg plot(runif(1000), runif(1000)) |
filename |
filename under ~/public_html/ or Sys.getenv('PPDF.DIR') to dump plots to (='plot.pdf') |
height |
integer pixel height of plot (=1000) |
width |
integer pixel width of plot (=1000) |
cex |
expansion factor of plot from "default size" either length 1 scalar or length 2 vector specifying height and width expansion (=1) |
title |
title to add to plot (=”) |
dim |
length 2 integer vector, if expr contains multiple plot calls then will output to matrix of plots with specified dim (=NULL) |
cex.title |
character expansion factor to title) |
... |
additional arguments to pdf() |
Marcin Imielinski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.