body_add_itemize: Add a list of items

Description Usage Arguments Value Author(s) Examples

View source: R/officer.r

Description

Add a list of items

Usage

1
2
body_add_itemize(x, value, level = 1, style = "Itemize",
  pos = "after")

Arguments

x

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

value

a character string

level

a integer (1 to 4)

style

a character string

pos

where to add the new element relative to the cursor, one of "after", "before", "on"

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_itemize(doc, "Coucou")

## End(Not run)

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