Learn R Programming

DemographicTable (version 0.1.9)

xtable.DemographicTable: Write DemographicTable to LaTeX

Description

Write DemographicTable to LaTeX.

Usage

# S3 method for DemographicTable
xtable(x, ...)

Value

Function xtable.DemographicTable returns an xtable object.

Arguments

x

a DemographicTable object

...

additional parameters of xtable

Examples

Run this code
(tb = DemographicTable(ToothGrowth, groups = 'supp'))
library(xtable)
print(xtable(tb), sanitize.text.function = identity, 
 sanitize.colnames.function = NULL, include.rownames = FALSE)

Run the code above in your browser using DataLab