format_flextable: Standard options used to format a flextable

View source: R/format_flextable.R

format_flextableR Documentation

Standard options used to format a flextable

Description

Standard options used to format a flextable

Usage

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
)

Arguments

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


overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.