body_add_plotref: Add a new paragraph with a figurereference2 style

Description Usage Arguments Value Author(s) Examples

Description

Add a new paragraph with a figurereference2 style

Usage

1
body_add_plotref(x, value, depth = 1, style = "figurereference2")

Arguments

x

the rdocx object (created with the read_docx function of officer package)

value

a character string

depth

integer, what is the depth of the current section to print

style

a character string

Value

a new rdocx object

Author(s)

David Hajage

Examples

1
2
3
4
5
6
## Not run: 
library(biostat2)
library(officer)
doc <- body_add_plotref(doc, "Coucou")

## End(Not run)

eusebe/biostat2 documentation built on Dec. 27, 2019, 4:22 p.m.