Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class '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


pander

An R 'Pandoc' Writer

v0.6.3
AGPL-3 | file LICENSE
Authors
Gergely Daróczi [aut, cre] (<https://orcid.org/0000-0003-3149-8537>), Roman Tsegelskyi [aut]
Initial release
2018-11-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.