Skip to contents

Insert a table into a markdown document. Essentially a wrapper for `knitr::kable` with `format = "markdown"` and newlines.

Usage

mdTable(
  tableNumber,
  tableCsv,
  captionFile,
  footNoteFile,
  subfolder,
  customStyles,
  digitsOfSignificance = 3,
  addNewPage = TRUE,
  ...
)

Arguments

tableNumber

number of table for caption prefix

tableCsv

path of .csv file

captionFile

file containing caption

footNoteFile

file containing footnotes

subfolder

The folder where the file is located relative to Rmd

customStyles

list of custom styles usable for figure and table captions and footnotes

digitsOfSignificance

significance digits to display (default 3)

addNewPage

boolean if TRUE (default) new page is added after

...

passed to `knitr::kable`

Value

`x`, invisibly

See also

Other markdown helper function: addFiguresAndTables(), mdBullet(), mdBullet0(), mdCaption(), mdFigure(), mdFootNote(), mdHeading(), mdLink(), mdNewline(), mdNewpage(), mdPaste(), mdPaste0()