cfoutput_MdTable: Output table as markdown

View source: R/outputting.R

cfoutput_MdTableR Documentation

Output table as markdown

Description

Output table as markdown

Usage

cfoutput_MdTable(
  dt,
  split_by = NULL,
  filename = NULL,
  format = c("markdown", "pandoc"),
  caption = NULL,
  na.strings = ifelse(NFLAGtribble == 2, "NA", "-"),
  FLAGsummaryRow = TRUE,
  NFLAGtribble = 0,
  ...
)

Arguments

dt

data.table

split_by

Charactor of colnames to split the table by inserting separator lines

filename

Value

object of class knitr::kable

Author(s)

Daniel Lill (daniel.lill@physik.uni-freiburg.de)

Examples

tableName <- "bla"
dt <- data.table(iris)[1:5]
cfoutput_MdTable(dt)
cfoutput_MdTable(data.table(iris), split_by = "Species")
split_by <- NULL
filename <- NULL
format <- c("markdown", "pandoc")
caption <- NULL
na.strings <- "NA"
FLAGsummaryRow <- TRUE
NFLAGtribble <- 2

dlill/conveniencefunctions documentation built on Sept. 30, 2022, 4:40 a.m.