pander.desctable {desctable}R Documentation

Pander method for desctable

Description

Pander method to output a desctable

Usage

## S3 method for class '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 be left, right or centre, which latter can be also spelled as center. Defaults to centre. Can be abbreviated to a string consisting of the letters l, c and r (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. to Inf to 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.

See Also

pandoc.table


[Package desctable version 0.3.0 Index]