Learn R Programming

r2pptx (version 0.1.0)

+,R2Pptx,R2PptxSlide-method: Add R2Ppptx slide

Description

Add an `R2PptxSlide` object to something else compatible.

Usage

# S4 method for R2Pptx,R2PptxSlide
+(e1, e2)

Arguments

e1

An object that a slide can be added to, such as an `R2PptxPresentation`, `R2PptxSlide`, or `R2PptxSlideList`.

e2

`R2PptxSlide` object

Value

If e1 is an object of class R2PptxPresentation then returns an object of class R2PptxPresentation. Otherwise returns an object of class R2PptxSlideList