ht_theme_kable: A kable-esque theme for huxtable object

View source: R/ssformat.R

ht_theme_kableR Documentation

A kable-esque theme for huxtable object

Description

This function provides a kable-esque theme for huxtable object

Usage

ht_theme_kable(
  ht,
  header_rows = 1:2,
  header_cols = NULL,
  border_width = 1,
  border_color = "#dddddd",
  bg = c("white", "#f9f9f9")
)

Arguments

ht

an object of class huxtable

header_rows

a numeric vector that delimits the header zone.

border_width

a number that defines huxtable border width

border_color

a character string that defines huxtable border color

bg

a character vector that defines background color of the flextable. If length(bg) >= 2, the table will have stripe background, otherwise plain.

Value

an object of class huxtable


oucru-biostats/C306 documentation built on July 16, 2024, 2:33 p.m.