Description Usage Arguments Value Author(s) Examples
Add a list of numerated items
1 2 | body_add_enumerate(x, value, level = 1, style = "Enumerate",
pos = "after")
|
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" |
a new rdocx object
David Hajage
1 2 3 4 5 6 | ## Not run:
library(biostat2)
library(officer)
doc <- body_add_enumerate(doc, "Coucou")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.