my.kable: Customized kable (table-making function for knitr)

Description Usage Arguments See Also

View source: R/my.kable.R

Description

Function to adapt kable function from knitr package to meet most of my table-making needs. This intentionally removes the table environment, so the tables do not float. Unfortunately, that means it's hit or miss on whether the caption stays near the table. This function is ugly

Usage

1
2
my.kable(kable.object, booktabs = TRUE, escape = FALSE, format = "latex",
  caption = NULL, ...)

Arguments

booktabs

Whether booktabs style should be used. Defaults to TRUE.

escape

Whether special LaTeX characters should be escaped. The default in kable right now is to escape these characters, but for some reason, escape never works quite like I want it to. Defaults to FALSE.

format

Type of table to be made. Defaults to "latex".

caption

Caption for the table. Defaults to NULL (no caption).

...

Other parameters passed to kable

kable.obj

Object (matrix or data frame) passed in to be kabled

See Also

kable


lcomm/ltools documentation built on May 20, 2019, 11:28 p.m.