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

pander.CrossTable

Pander method for CrossTable class


Description

Prints a CrossTable object in Pandoc's markdown.

Usage

## S3 method for class '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


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.