xtable.CrossTable {descr}R Documentation

CrossTable method for xtable

Description

The method creates an object of class xtable.

Usage

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

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.

Author(s)

Jakson A. Aquino jalvesaq@gmail.com

See Also

CrossTable, crosstab, print.xtable.


[Package descr version 1.1.8 Index]