plot2pptx {rrtable}R 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)

[Package rrtable version 0.3.0 Index]