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