View source: R/format_flextable.R
format_flextable | R Documentation |
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
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.