View source: R/flextableFuns.R
Similar to cat_ptr but uses flextable for word documents
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  | cat_ft(
  df,
  Digits = 3,
  Caption = NULL,
  Tag = NULL,
  noHeader = FALSE,
  theme_ = "theme_vanilla",
  first.row.names = FALSE,
  row.names.null = TRUE,
  parse.pattern = "_",
  parse.replace = " ",
  font_ = "Cambria",
  fontsizeH = 8,
  fontsizeB = 8,
  rotationH = NULL,
  rotationB = NULL,
  alignB = "left",
  formatter = NULL
)
 | 
df | 
 data frame for table  | 
Digits | 
 number of decimal places for rounding  | 
Caption | 
 table caption  | 
Tag | 
 tag for pandoc-crossref  | 
noHeader | 
 logical to use header  | 
theme_ | 
 flextable theme to apply  | 
first.row.names | 
 use first row as column headers  | 
row.names.null | 
 use row names  | 
parse.pattern | 
 pattern to replace  | 
parse.replace | 
 string to replace parse.pattern  | 
font_ | 
 font to use  | 
fontsizeH | 
 header font size in pts  | 
fontsizeB | 
 body font size in pts  | 
rotationH | 
 logical vector of header columns to rotate  | 
rotationB | 
 logical vector of body columns to rotate  | 
alignB | 
 body cell text alignment  | 
formatter | 
 function for formatting cells  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.