Pander method to output a desctable
Usage
# S3 method for desctable
pander(
x = NULL,
digits = 2,
justify = "left",
missing = "",
keep.line.breaks = T,
split.tables = Inf,
emphasize.rownames = F,
...
)Arguments
- x
A desctable
- digits
passed to
format. Can be a vector specifying values for each column (has to be the same length as number of columns).- justify
defines alignment in cells passed to
format. Can beleft,rightorcentre, which latter can be also spelled ascenter. Defaults tocentre. Can be abbreviated to a string consisting of the lettersl,candr(e.g. 'lcr' instead of c('left', 'centre', 'right').- missing
string to replace missing values
- keep.line.breaks
(default:
FALSE) if to keep or remove line breaks from cells in a table- split.tables
where to split wide tables to separate tables. The default value (
80) suggests the conventional number of characters used in a line, feel free to change (e.g. toInfto disable this feature) if you are not using a VT100 terminal any more :)- emphasize.rownames
boolean (default:
TRUE) if row names should be highlighted- ...
unsupported extra arguments directly placed into
/dev/null
Details
Uses pandoc.table, with some default parameters (digits = 2, justify = "left", missing = "", keep.line.breaks = T, split.tables = Inf, and emphasize.rownames = F), that you can override if needed.