View source: R/ooxml_block_objects.R
block_table | R Documentation |
Create a representation of a table
block_table(x, header = TRUE, properties = prop_table(), alignment = NULL)
x |
a data.frame to add as a table |
header |
display header if TRUE |
properties |
table properties, see |
alignment |
alignment for each columns, 'l' for left, 'r' for right and 'c' for center. Default to NULL. |
prop_table()
Other block functions for reporting:
block_caption()
,
block_list()
,
block_pour_docx()
,
block_section()
,
block_toc()
,
fpar()
,
plot_instr()
,
unordered_list()
block_table(x = head(iris))
block_table(x = mtcars, header = TRUE,
properties = prop_table(
tcf = table_conditional_formatting(
first_row = TRUE, first_column = TRUE)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.