Description Usage Arguments Value Examples
This function can modify the default values of the parameters of output
function like prWriteTable or prPdf. This can be
useful for instance to set in one and only one location the default size
of output images, the default font...
1 |
table |
Named list. The names correspond to argument names of |
image |
Named list. The names correspond to argument names of |
pdf |
Named list. The names correspond to argument names of |
cairo |
Named list. The names correspond to argument names of |
prOutputDefaults invisibly returns the list of modified defaults
values.
1 2 3 4 5 6 7 8 | # Remove row names of table output:
prOutputDefaults(table = list(row.names = FALSE))
# Modify the default size of pdf output:
prOutputDefaults(pdf = list(width = 8, height = 6))
# Reset default values for pdf and table output
prOutputDefaults(table = NULL, pdf = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.