Turns a data frame into a flextable

make_flextable(
  df,
  header_words = NULL,
  last_id_col = NULL,
  merge_col_indices = NULL,
  dbl_digits = 2,
  theme = c("zebra_blue", "zebra_gold", "tron", "vader", "vanilla", "booktabs",
    "alafoli")
)

Arguments

df

data frame

header_words

header words. Takes a character vector of header words. will be automatically generate via a heuristic if left NULL. can be completely disabled by the string "disable"

last_id_col

last id col

merge_col_indices

merge specific column indices

dbl_digits

integer. how many trailing digits should be displayed on dbls

theme

string to choose a preselected theme

Value

a flextable