kbl_array: Use kableExtra::kbl to print an array.

View source: R/pr.R

kbl_arrayR Documentation

Use kableExtra::kbl to print an array.

Description

Requires version 1.2.0 or later of kableExtra from devtools::install_github("haozhu233/kableExtra")

Usage

kbl_array(a, MARGIN, ...)

Arguments

a

array

MARGIN

a vector of dimension along which the array will be collapse

Details

See https://haozhu233.github.io/kableExtra/awesome_table_in_pdf.pdf. The output can be postprocessed with other function in kableExtra.

Examples

## Not run: 
kbl_array(Titanic, 3:4, longtable = T)

## End(Not run)

gmonette/gnew documentation built on July 9, 2022, 12:57 p.m.