Description Usage Arguments Value See Also Examples
Converts object to PDF. By default, device is scaled by plot size. Device is automatically closed and file argument is returned.
1 2 3 4 5 6 |
x |
object |
width |
desired plot width |
height |
desired plot height |
devsize |
a function of x, width, height, and ... that calculates device size |
scaled |
whether to rescale width and height by plot size |
onefile |
logical: passed to |
file |
file name passed to |
... |
other arguments to |
(invisible) the file argument
Other as.pdf: as.pdf
Other devices: as.pdf
,
as.png.default
, as.png
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.