Save an R graph as a high resolution image
1 | save_image(graph, file.name = "graph.png", width = 7, height = 7, res = 500)
|
graph |
expression generating a graph |
file.name |
output file name to write |
width |
output file width |
height |
output file height |
res |
the nominal resolution in in which will be recorded in the bitmap file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.