Description Usage Arguments Details Examples
Add a title in the flextable's header part. It can be inserted at the top or the bottom of header part.
1 | add_title_header(x, title, font_size = 12)
|
x |
a |
title |
a string containing the title of the table |
font_size |
integer to use for font size of the title |
An horizontal and a vertical merge are performed automatically.
Use merge_none
to drop theses merging instructions.
1 2 3 | ft <- flextable::flextable( utils::head( iris ),
col_keys = c("Species", "Sepal.Length", "Petal.Length", "Sepal.Width", "Petal.Width") )
ft_wtitle <- add_title_header(ft, "Iris data set")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.