Prints a data.table object in Pandoc's markdown. Data.tables drop attributes (like row names) when called.
# 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