plot2pptx | R Documentation |
Save plot/ggplot to Microsoft Powerpoint format
plot2pptx(...)
... |
further arguments to be passed to plot2office |
## Not run: require(ggplot2) x<-ggplot(iris,aes(x=Sepal.Length))+geom_histogram() plot2pptx(x) plot2pptx(x,title="A ggplot",append=TRUE) p2=ggplot(iris,aes(x=Sepal.Length,y=Sepal.Width))+geom_point() plot2pptx(p2,append=TRUE) plot2pptx(x=c("plot(iris)","ggplot(iris,aes(x=Sepal.Length))+geom_histogram()"), append=TRUE,title=c("plot","ggplot"),echo=TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.