Learn R Programming

pander (version 0.6.5)

pander.CrossTable: Pander method for CrossTable class

Description

Prints a CrossTable object in Pandoc's markdown.

Usage

# S3 method for CrossTable
pander(
  x,
  caption = attr(x, "caption"),
  digits = panderOptions("digits"),
  total.r = x$total.r,
  total.c = x$total.c,
  ...
)

Arguments

x

a CrossTable object

caption

caption (string) to be shown under the table

digits

number of digits of precision

total.r

if to print row totals. Default values is taken from CrossTable object

total.c

if to print column totals. Default values is taken from CrossTable object

...

optional parameters passed to raw pandoc.table function