format_flextable.Rd
Standard options used to format a flextable
format_flextable( data, center_cols = NULL, left_cols = NULL, right_cols = NULL, header1 = NULL, header2 = NULL, bold_header = FALSE, center_num = TRUE, fontsize = 10, fontname = "Times New Roman", pbold = NA, psig = 0.05, table_properties = list(layout = "autofit", width = 1) )
data | A `data frame` or `flextable` object |
---|---|
center_cols, left_cols, right_cols | numeric vector of columns to center, left or right align |
header1, header2 | Named list of values and colwidths. header1 will replace the original header. header2 will add a second header on top. |
bold_header | Bold the header column(s)? |
center_num | Center numeric columns? |
fontsize, | fontsize |
fontname | fontname |
pbold | (String) Name of column to bold as p-values |
psig | A numeric threshold to bold p-values#' @param psig A numeric threshold to bold p-values |
table_properties | A list of arguments passed to flextable::set_table_properties. NA to ignore |