kbl.default: Default kbl Method

kbl.defaultR Documentation

Default kbl Method

Description

Calls the existing kbl implementation.

Usage

## Default S3 method:
kbl(
  x,
  format,
  digits = getOption("digits"),
  row.names = NA,
  col.names = NA,
  align,
  caption = NULL,
  label = NULL,
  format.args = list(),
  escape = TRUE,
  table.attr = getOption("knitr.table.html.attr", ""),
  booktabs = FALSE,
  longtable = FALSE,
  tabular = if (longtable) "longtable" else "tabular",
  valign = if (tabular %in% c("tabularx", "xltabular")) "{\\linewidth}" else "[t]",
  position = "",
  centering = TRUE,
  vline = getOption("knitr.table.vline", if (booktabs) "" else "|"),
  toprule = getOption("knitr.table.toprule", if (booktabs) "\\toprule" else
    "\\hline"),
  bottomrule = getOption("knitr.table.bottomrule", if (booktabs) "\\bottomrule" else
    "\\hline"),
  midrule = getOption("knitr.table.midrule", if (booktabs) "\\midrule" else
    "\\hline"),
  linesep = if (booktabs) c("", "", "", "", "\\addlinespace") else "\\hline",
  caption.short = "",
  table.envir = if (!is.null(caption)) "table",
  ...
)

Arguments

x

Object to render.

format, digits, row.names, col.names, align, caption, label

Arguments passed to kbl.

format.args, escape, table.attr, booktabs, longtable, tabular, valign

Arguments passed to kbl.

position, centering, vline, toprule, bottomrule, midrule, linesep

Arguments passed to kbl.

caption.short, table.envir

Arguments passed to kbl.

...

Additional arguments passed to kbl.

Value

A kable object.

See Also

kbl

Other gridtable: as.data.frame.gridtable(), as_calibrated(), as_calibrated.data.frame(), as_gridtable(), as_gridtable.character(), as_gridtable.data.frame(), kbl(), kbl.calibrated(), kbl.gridtable(), print.gridtable()


tablet documentation built on July 19, 2026, 9:06 a.m.