Convenience wrapper for knitr::kable() designed to handle styling contingent upon output type (pdf vs. html). In addition to kable(), this wraps several other functions: kableExtra::pack_rows(), kableExtra::kable_styling(), kableExtra::column_spec().
A data.frame or similar holding table content. It will be passed to kable().
The output type of the table. Specially handled values are "html", "pdf", which yield tables in html or latex/pdf format, respectively. Any other value will yield a 'pandoc' table. See 'format' argument to kable().
Number of digits to right of decimal. See same name argument to kable().
The table caption. See same name argument to kable().
Enable latex package 'booktabs'. See same name argument to kable().
Enable latex package 'longtable'. See same name argument to kable().
Labels assigned to groups of table rows. See kableExtra::pack_rows().
Start of each group of table rows. See kableExtra::pack_rows().
Start of each group of table rows. See kableExtra::pack_rows().
Used for html tables. See kableExtra::kable_styling().
Used for pdf tables. See kableExtra::kable_styling().
Should table be full page width? See kableExtra::kable_styling()
Font size. See kableExtra::kable_styling()
A formated table, per knitr::kable().
Convenience wrapper for knitr::kable() designed to handle styling contingent upon output type (pdf vs. html). Allows separate formatting options depending on output document type.
kable(), kable_styling(), pack_rows(), column_spec().