image2docx: Save plot/ggplot to Microsoft Word format

View source: R/image2pptx.R

image2docxR Documentation

Save plot/ggplot to Microsoft Word format

Description

Save plot/ggplot to Microsoft Word format

Usage

image2docx(...)

Arguments

...

further arguments to be passed to image2office

Examples

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

## End(Not run)

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