addtodoc: Add To Word Document

Description Usage Arguments Value Examples

View source: R/reporting.R

Description

Adds a officer object to an existing document. Generally, this will be a figure or a table, but it could be anything supported by the officer package.

Usage

1
addtodoc(docu, item, caption = NULL, pagebreak = TRUE)

Arguments

docu

Document object to which the object will be added

item

Object from officer package to add

caption

Text for the caption

pagebreak

Should there be a pagebreak added (default is TRUE)

Value

Adds object to document

Examples

1
## Not run: # nothing here yet

outcomesinsights/jigsaw_r documentation built on May 24, 2019, 5:54 p.m.