latex.tabular: Display a tabular object using LaTeX.
Description
This is similar to print.tabular, but it inserts the code to
display the table in a LaTeX tabular environment.
Usage
## S3 method for class 'tabular':
latex(object, file="", options=NULL, ...)
table_options(...)
booktabs(...)
Arguments
Value
The latex() method returns x invisibly, and prints the LaTeX script to the console.
table_options() and booktabs() return the previous settings.
Details
The latex() method produces LaTeX output suitable for inclusion in a Sweave document.
The table_options() function sets a number of options that control formatting. Currently the
options are:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
These may be set persistently by calling table_options(), or just for the duration
of the call by passing them in a list to latex().
The booktabs() function sets the table_options() values to different defaults,
suitable for use with the booktabs LaTeX package.