Add a new slide to a PowerPoint presentation and insert a chart
Source:R/ppt_plots.R
disp_add_slide.Rd
This function creates a new slide with a specified layout and inserts a specified chart into the PowerPoint presentation using the officer package.
Arguments
- presentation
An officer::pptx object representing the PowerPoint presentation.
- chart
An mschart::ms_chart object representing the chart to be inserted.
- layout
A character string specifying the slide layout to be used (default: "Title and Content").
- master
A character string specifying the master slide to be used (default: "Office Theme").