t1kable: Convert a 'table1' object to 'kabelExtra'.

View source: R/table1.R

t1kableR Documentation

Convert a table1 object to kabelExtra.

Description

Convert a table1 object to kabelExtra.

Usage

t1kable(x, booktabs = TRUE, ..., format, align, bold.headers = TRUE)

Arguments

x

An object returned by table1.

booktabs

Passed to kbl (default TRUE).

...

Other options passed to kbl.

format

Passed to kbl (optional).

align

Passed to kbl (optional). The default is to left align the labels (first column) and center everything else.

bold.headers

Should the column headers be bolded?

Value

A kabelExtra object.

Note

The kableExtra package needs to be installed for this to work.


benjaminrich/table1 documentation built on June 10, 2025, 10:43 p.m.