Save an R graph as a PDF file
1 | save_as_pdf(graph, file.name = "pdf-graph.pdf", width = 7, height = 7)
|
graph |
R expression generating a graph |
file.name |
output file name to write |
width |
output file width |
height |
output file height |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.