add a plot as vector graphics into layout placeholder

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