prepend_chunks | R Documentation |
prepend chunks (for example chunk as_chunk()
)
in a flextable.
prepend_chunks(x, ..., i = NULL, j = NULL, part = "body")
x |
a flextable object |
... |
chunks to be prepended, see |
i |
rows selection |
j |
column selection |
part |
partname of the table (one of 'body', 'header', 'footer') |
Other functions for mixed content paragraphs:
append_chunks()
,
as_paragraph()
,
compose()
x <- flextable(head(iris))
x <- prepend_chunks(
x,
i = 1, j = 1,
colorize(as_b("Hello "), color = "red"),
colorize(as_i("World"), color = "magenta")
)
x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.