Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


wrappedtools (version 0.9.7)

print_kable: Enhanced knitr::kable with definable number of rows and/or columns for splitting

Description

[Superseded]

package flextable is a more powerful alternative

print_kable formats and prints tibbles/df's in markdown with splitting into sub-tables with repeated caption and header.

Usage

print_kable(t, nrows = 30, caption = "", ncols = 100, ...)

Value

No return value, called for side effects.

Arguments

t

table to print.

nrows

number of rows (30) before splitting.

caption

header.

ncols

number of columns (100) before splitting.

...

Further arguments passed to knitr::kable.

Examples

Run this code
if (FALSE) {
print_kable(mtcars, caption = "test")
}

Run the code above in your browser using DataLab