Description Usage Arguments Examples
Save plot/ggplot as image to Microsoft Powerpoint format
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
A string vector encoding plot or ggplot |
target |
name of output file |
append |
logical value |
title |
Optional character vector of plot title |
type |
"pptx" or "docx" |
preprocessing |
A string of R code or "" |
left |
left margin |
top |
top margin |
width |
desired width of the plot |
height |
desired height of the plot |
1 2 | require(ggplot2)
image2pptx("ggplot(data=iris,aes(x=Sepal.Length))+geom_density()")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.