plot2pptx: Save plot/ggplot to Microsoft Powerpoint format

View source: R/plot2pptx.R

plot2pptxR Documentation

Save plot/ggplot to Microsoft Powerpoint format

Description

Save plot/ggplot to Microsoft Powerpoint format

Usage

plot2pptx(...)

Arguments

...

further arguments to be passed to plot2office

Examples

## 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)

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.