add_graph_to_pptx: Take a pre-existing PPTX document with n slides and a list of...

View source: R/grattan_save_pptx.R

add_graph_to_pptxR Documentation

Take a pre-existing PPTX document with n slides and a list of n ggplot2 objects; add one object to each slide using officer

Description

Take a pre-existing PPTX document with n slides and a list of n ggplot2 objects; add one object to each slide using officer

Usage

add_graph_to_pptx(p, filename, type, num_slides)

Arguments

p

a ggplot

filename

filename incl. path to an existing PPTX file

type

a grattantheme chart type with a PPTX template

num_slides

number of slides to make


MattCowgill/grattantheme documentation built on Jan. 13, 2023, 11:02 a.m.