print_table: Publication friendly tables for .rmd files

print_tableR Documentation

Publication friendly tables for .rmd files

Description

A publication friendly version of knitr::kable(). It automatically detect if the output is HTML or PDF and adapt the formatting, allowing for latex formulas, large table, etc in PDF outputs. Allows using \

Usage

print_table(data, caption = "", allow_math = FALSE, ...)

Arguments

data

A data frame

caption

A caption to be displayed in the table.

allow_math

Whether to allow latex math by disabling special character escape.

...

Other arguments passed to knitr::kable().

Value

An rmarkdown::render() ready table.


bakaburg1/BaySREn documentation built on March 30, 2022, 12:16 a.m.