phl_with_vg: Add a plot as vector graphics into layout placeholder

Description Usage Arguments Value

View source: R/officer.R

Description

Add a plot as vector graphics into layout placeholder

Usage

1
phl_with_vg(x, olay, id, code, ggobj = NULL, ...)

Arguments

x

rpptx object

olay

an OfficerLayout object created using phl_layout

id

an single integer with an id of the placeholder from olay object.

code

plot instructions.

ggobj

ggplot objet to print. Argument code will be ignored if this argument is supplied.

...

other arguments passed to dml_pptx

Value

rpptx object which represents PowerPoint presentation in officer. The returned object contains a new element on the slide.


zzawadz/customLayout documentation built on June 9, 2021, 11:10 a.m.