Description Usage Arguments Value Author(s) Examples
Add a title
1 | body_add_title(x, value, level = 1, style = "heading", pos = "after")
|
x |
the rdocx object (created with the read_docx function of officer package) |
value |
a character string |
level |
a integer (1 to 9) |
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_itemize(doc, "Coucou")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.