Learn R Programming

ufs (version 0.5.12)

kblXtra: 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;'",
  ...
)

Value

The table, invisibly.

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()

Examples

Run this code
kblXtra(mtcars);

Run the code above in your browser using DataLab