| fig | R Documentation | 
graph can be used with export function to insert an R graphic.
fig(file = NULL, graph = NULL, format = NULL, ...)
| file | character string ( | 
| graph | a recordedplot, a lattice plot, a ggplot, or an expression producing a plot (optional if the file already exists) | 
| format | jpg, png or pdf (or guessed with the file name) | 
| ... | additional arguments (passed to format options) | 
A fig object
David Hajage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.