Description Usage Arguments Examples
Inspired by the ggsave, this function facilitates the export of xpose plots.
1 2 3 |
plot |
A xpose plot object. |
file |
A name with file extension (if device is |
dir |
Directory under which the xpose plots will be saved. Template variables
such as |
device |
Graphical device to use. Can be either be a device function
(e.g. |
width, height |
Plot size in |
units |
Units of the plot size ('in', 'cm', or 'mm'). |
dpi |
Plot resolution. Applies only to raster output types. |
... |
Additional arguments passed on to ggsave or graphics |
1 2 3 4 5 6 | ## Not run:
xpdb_ex_pk %>%
dv_vs_ipred() %>%
xpose_save(file = file.path(tempdir(), "dv_vs_ipred_example.pdf"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.