chunk_dataframe | R Documentation |
This function is to be used by external packages that want to provide an object that can be inserted as a chunk object in paragraphs of a flextable object.
chunk_dataframe(...)
... |
values to set. |
a data.frame with an additional class "chunk" that makes it
suitable for beeing used in as_paragraph()
chunk_dataframe(txt = c("any text", "other text"))
chunk_dataframe( txt = c("any text", "other text"), bold = c(TRUE, TRUE))
chunk_dataframe( txt = c("any text", "other text"), font.size = c(12, 10), italic = c(FALSE, TRUE), bold = c(FALSE, TRUE), underlined = c(FALSE, TRUE), color = c("black", "red"), shading.color = c("transparent", "yellow"), font.family = c("Arial", "Arial"), hansi.family = c("Arial", "Arial"), eastasia.family = c("Arial", "Arial"), cs.family = c("Arial", "Arial"), vertical.align = c("top", "bottom") )
chunk_dataframe( txt = c("any text", "other text"), url = rep("https://www.google.fr", 2), font.size = c(12, 10), italic = c(FALSE, TRUE), bold = c(FALSE, TRUE), underlined = c(FALSE, TRUE), color = c("black", "red"), shading.color = c("transparent", "yellow"), font.family = c("Arial", "Arial"), hansi.family = c("Arial", "Arial"), eastasia.family = c("Arial", "Arial"), cs.family = c("Arial", "Arial"), vertical.align = c("top", "bottom") )
chunk_dataframe(width = width, height = height, img_data = files )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.