Learn R Programming

qreport (version 1.0-1)

kabl: kabl

Description

Front-end to kable and kables

Usage

kabl(..., caption = NULL, digits = 4, col.names = NA, row.names = NA)

Value

result of kable or kables

Arguments

...

one or more objects to pass to kable

caption

overall single caption

digits

passed to kable and applies to all tables

col.names

passed to kable

row.names

passed to kable

Author

Frank Harrell

Details

Calls kable() if only one table is to be printed. Calls kable() for each table and passes it to kables if more than one. Accounts for results of tapply not being a vector (is an array)

Examples

Run this code
kabl(data.frame(a=1:2, b=3:4), data.frame(x=11:13, y=21:23))

Run the code above in your browser using DataLab