add_anyplot | R Documentation |
Add a ggplot or a plot to the Microsoft Office Document
add_anyplot( doc, x = NULL, plottype = "auto", left = 1, top = 2, width = 8, height = 5.5 )
doc |
A document object |
x |
An object of class ggplot2 or a string encoding plot or ggplot |
plottype |
character One of c("auto","plot","ggplot","emf") |
left |
left margin |
top |
top margin |
width |
desired width of the plot |
height |
desired height of the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.