Description Usage Arguments Value
View source: R/table_formatting.r
Create and format a flextable with standard formatting
1 2 3 4 5 6 7 8 9 | my_flextable(
df,
digits = 2,
align = "center",
aln_part = "all",
header = NULL,
vline = NULL,
hline = NULL
)
|
df |
The dataframe to format as a flextable |
digits |
The number of digits 'round()' should use |
align |
How to align the table; one of "left", "center", "right", "justify" |
aln_part |
Which part to align; one of "header", "body", "footer", "all" |
header |
Table header to be passed to 'add_header_lines()' |
vline |
Which column(s) to place a vertical line after |
hline |
Which row(s) to place a horizontal line below |
A formatted flextable object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.