report_save | R Documentation |
This function saves a ggplot2 plot in the desired location with the correct dimensions for a LaTeX report. If a custom thematic theme is used, this only works for vector graphics (e.g., PDF).
report_save(
filename,
plot,
path = "04 Figures",
width = 11.75,
height = 9,
units = "cm"
)
filename |
Desired filename |
plot |
Plot |
path |
Desired path for saving |
width |
Plot width, defaults to 11.75 cm |
height |
Plot height, defaults to 9 cm |
units |
Unit, defaults to |
Nothing, used for side-effects only
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.