new_element: New Element

Description Usage Arguments Value

View source: R/element.R

Description

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

Usage

1
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.


r2pptx documentation built on Sept. 16, 2021, 1:07 a.m.