Learn R Programming

officer (version 0.3.11)

ph_with_gg_at: add ggplot to a pptx presentation

Description

add a ggplot as a png image into an rpptx object This function is deprecated in favor of ph_with.

Usage

ph_with_gg_at(x, value, width, height, left, top, ...)

Arguments

x

an pptx object

value

ggplot object

width, height

image size in inches

left, top

location of the new shape on the slide

...

Arguments to be passed to png function.