Learn R Programming

pander (version 0.6.5)

pander.data.table: Pander method for data.table class

Description

Prints a data.table object in Pandoc's markdown. Data.tables drop attributes (like row names) when called.

Usage

# S3 method for data.table
pander(x, caption = attr(x, "caption"), keys.as.row.names = TRUE, ...)

Arguments

x

a data.table object

caption

caption (string) to be shown under the table

keys.as.row.names

controls whether to use data.table key as row names when calling pandoc.table

...

optional parameters passed to raw pandoc.table function