View source: R/export_latex_code.R
export_latex_code | R Documentation |
Export the figure environment LaTeX code for a ggplot2 graph object.
export_latex_code(
p = ggplot2::last_plot(),
chart_path = "atlas/chart.pdf",
export_type = "wholecolumn"
)
p |
The ggplot2 graph object to be saved. Defaults to
|
chart_path |
The chart_path and export_type will be extracted
and used in the |
export_type |
The chart_path and export_type will be extracted
and used in the |
LaTeX code to create a figure environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.