f_word_tbl_eshpm: A wrapper function for flextable related functions

View source: R/f_word_tbl_eshpm.R

f_word_tbl_eshpmR Documentation

A wrapper function for flextable related functions

Description

A wrapper function for flextable related functions

Usage

f_word_tbl_eshpm(
  df,
  cpt = "",
  tb_lbl = knitr::opts_current$get()$label,
  col_names = NULL,
  f_format_dbl = TRUE,
  f_digi = 2,
  flex_layout = "autofit"
)

Arguments

df

A data.frame of tibble

cpt

The table caption.

tb_lbl

A table label used for bookdown documents. Default is the chunk label. If no chunk label provided add own here.

col_names

New column names. If left empty (NULL) names will be taken from df.

f_format_dbl

If TRUE (default) numbers in table will be formatted.

f_digi

Number of digits when f_format_dbl is TRUE.

flex_layout

Used for flextable::set_table_properties. 'autofit' or 'fixed' algorithm. Default to 'autofit'.


fthielen/tatooheen documentation built on Nov. 8, 2023, 4:37 a.m.