default_kable: Preferred default values for creating table with kableExtra

View source: R/default_kable.R

default_kableR Documentation

Preferred default values for creating table with kableExtra

Description

[Stable]

Usage

default_kable(tab, font_size = NULL, scale_down = TRUE, row.names = FALSE, ...)

Arguments

tab

Number that should be formatted.

font_size

A numeric input for table font size.

scale_down

Is useful for super wide table. It will automatically adjust the table to page width.

row.names

Logical: whether to include row names. Default is FALSE.

...

Additional arguments to knitr::kable.

Value

The kabletable.

Examples

tab <- tibble::tibble(a = c(2, 3, 4), b = c(5, 6, 7))
default_kable(tab)

linabe/hfmisc documentation built on Oct. 10, 2022, 3:17 p.m.