dot-rxDocTable function

Print out a table in the documentation

Print out a table in the documentation

.rxDocTable(table, caption = "none")

Arguments

  • table: data frame
  • caption: a character vector representing the caption for the latex table

Returns

based on the knitr context:

  • output a kableExtra::kbl for latex output
  • output a DT::datatable for html output
  • otherwise output a knitr::kable

Examples

.rxDocTable(rxReservedKeywords)

Author(s)

Matthew L. Fidler