plot2docx: Save plot/ggplot to Microsoft Word format

Description Usage Arguments Examples

View source: R/plot2pptx.R

Description

Save plot/ggplot to Microsoft Word format

Usage

1

Arguments

...

further arguments to be passed to plot2office

Examples

1
2
3
4
5
6
7
8
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)

rrtable documentation built on April 2, 2020, 5:09 p.m.