ggsvg | R Documentation |
Save ggplot as .pdf, then convert to .svg via pdf2svg
ggsvg(f, width = 6.5, height = 6.5, ...)
f |
Filename of the svg file. Omit the ".svg" at the end. |
width |
width passed to ggplot2::ggsave |
height |
width passed to ggplot2::ggsave |
... |
Additional parameters passed to ggplot2::ggsave |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.