kblXtra {ufs}R 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);

[Package ufs version 0.5.12 Index]