Saves braid plot to pdf. Uses either ggsave() or pdf(), depending on the class of plot. Supports plots of class ggsave and trellis (i.e. lattice plots).
1 2 3 4 |
braid |
A braid object |
plotcode |
A plot object (either ggplot or lattice) |
filename |
Filename without path. The path is obtained from the braid defaults |
width |
Width in inches |
height |
Height in inches |
Qid |
Optional identifying text that is used to print a message in the event the plot fails |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.