Learn R Programming

descr (version 1.1.8)

xtable.CrossTable: CrossTable method for xtable

Description

The method creates an object of class xtable.

Usage

# S3 method for CrossTable
xtable(x, caption = NULL, label = NULL,
       align = NULL, digits = NULL, display = NULL,
       auto = FALSE, multirow = FALSE, hline = FALSE, ...)

Arguments

x

A object of class CrossTable.

caption

See xtable.

label

See xtable.

align

See xtable.

display

See xtable.

digits

See xtable.

auto

See xtable.

multirow

A logical value indicating whether the command \multirow should be added to the table. See the Details section below.

hline

A logical value indicating whether the command \hline should be added to the table. See the Details section below.

...

Further arguments to be passed to format or to replace arguments previously passed to CrossTable.

Author

Jakson A. Aquino jalvesaq@gmail.com

Details

If either multirow or hline is TRUE, the sanitize.text.function argument of print.xtable must be defined. You will also have to add \usepackage{multirow} to your Rnoweb document. See the Example section of crosstab.

See Also

CrossTable, crosstab, print.xtable.