plot2docx {rrtable}R Documentation

Save plot/ggplot to Microsoft Word format

Description

Save plot/ggplot to Microsoft Word format

Usage

plot2docx(...)

Arguments

...

further arguments to be passed to plot2office

Examples

## Not run: 
require(ggplot2)
x<-ggplot(iris,aes(x=Sepal.Length))+geom_histogram()
plot2docx(x)
plot2docx(x,title="A ggplot",append=TRUE)
p2=ggplot(iris,aes(x=Sepal.Length,y=Sepal.Width))+geom_point()
plot2docx(p2,append=TRUE)
plot2docx(x="plot(iris)",append=TRUE,title="plot(iris)")
plot2docx(x="ggplot(iris,aes(x=Sepal.Length))+geom_histogram()",append=TRUE)

## End(Not run)

[Package rrtable version 0.3.0 Index]