Print a R Graphics object to a file.
1 | firesvg(path, y, w = 6, h = 6)
|
path |
file path in quotes. |
y |
the R graphics object, which needs to be saved as a .svg file. |
w |
width in inches, defaults to 6 |
h |
height in inches, defaults to 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.