kblXtra: Wrapper for kableExtra for consistent 'ufs' table styling

View source: R/kblXtra.R

kblXtraR Documentation

Wrapper for kableExtra for consistent ufs table styling

Description

Wrapper for kableExtra for consistent ufs table styling

Usage

kblXtra(
  x,
  digits = 2,
  format = "html",
  escape = FALSE,
  print = TRUE,
  viewer = FALSE,
  kable_classic = FALSE,
  lightable_options = "striped",
  html_font = "\"Arial Narrow\", \"Source Sans Pro\", sans-serif",
  full_width = TRUE,
  table.attr = "style='border:0px solid black !important;'",
  ...
)

Arguments

x

The dataframe to print

digits, format, escape, table.attr, lightable_options, html_font, full_width

Defaults that are passed to knitr::kable()

print

Wther to print the table

viewer

Whether to show the table in the viewer

kable_classic

Whether to call kable_classic; otherwise, kable_styling is called.

...

Additional arguments are passed to knitr::kable()

Value

The table, invisibly.

Examples

kblXtra(mtcars);

ufs documentation built on July 9, 2023, 6:07 p.m.

Related to kblXtra in ufs...