make_flextable {presenter}R Documentation

Make Flextable

Description

Turns a data frame into a flextable

Usage

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


[Package presenter version 0.1.2 Index]