Add a plot as vector graphics into layout placeholder
phl_with_vg(x, olay, id, code, ggobj = NULL, ...)rpptx object
an OfficerLayout object created using phl_layout
an single integer with an id of the placeholder from olay object.
plot instructions.
ggplot objet to print. Argument code will be ignored if this argument is supplied.
other arguments passed to dml_pptx
rpptx object which represents PowerPoint presentation in officer. The returned object contains a new element on the slide.