new_element-character-method: New Element

Description Usage Arguments Value

Description

Make a new 'R2PptxElement'. Element represent text, a flextable, an image, a ggplot2, etc to add to a slide.

Usage

1
2
## S4 method for signature 'character'
new_element(key, value)

Arguments

key

character. Name of the placeholder label for this element.

value

object. Object to put into a PowerPoint slide, eg text or a plot.

Value

An object of class R2PptxElement representing something to put on a slide.


mattle24/r2pptx documentation built on Dec. 21, 2021, 3:49 p.m.