Matrix to be put into the table. Other objects are coerced to
matrices. Vectors are coerced to a row vector
align
Character vector or string giving the alignment for each
column. Options are "left", "center", "right".
cspan
A vector specifying how many columns of the table each
column of x should span. This is used when using successive
calls to latex.table to build tables with complex headers
cwidth
specify the width of each column
cwidth.units
Units of measure for the column width. For example,
"in", "cm", or "mm"
cborder
A vector denoting vertical border positions. Borders are
placed to the right of the given columns. See "Details".
cborder.thick
For HTML, column border thickness denoted in pixels
cborder.style
A valid HTML descriptor for the color of the column border
rborder
A vector denoting horizontal border positions. Borders
are placed at the bottom of the given rows. See "Details".
rbspan
A vector or list giving the start and stop positions of the
horizontal borders. Use a list when borders should go from columns
1 - 3 and 5 - 7, but not at column 4.
rborder.thick
For HTML, row border thickness denoted in pixels
rborder.style
A valid HTML descriptor for the color of the row border
rcol
A vector denoting which rows should be colored
usecol
A character vector or string giving the color to be used for
the rows in rcol. The color must be a recognized LaTeX color
font
HTML font for the paragraph. Defaults to the HTML option
(see setHtmlOptions).
family
HTML font family for the paragraph. Defaults to the HTML
option (see setHtmlOptions).
size
Text size of the paragraph. Defaults to the HTML option
(see setHtmlOptions). May be an integer or a LaTeX size
descriptor. See "Details" for options
justify
Character string giving the alignment for the table on the
page. Options are "left", "center", "right".
placement
Controls the placement of the figure. Options are
"ht", "t", "b", "p", "H" and can be supplemented with
"!". See "Details" for more explanation
open
Logical. Indicates if a new table environment should be opened
close
Logical. Indicates if the current table environment should
be closed.
caption
Caption for the table. Currently, captions are placed
above tables.
footnote
Additional footnotes to be placed below tables
label
The label to be used by lazy.ref
counter
The name of the counter to be used for this table
counterSet
The value to which counter should be set.
In other words, the number of this table
translate
Toggles if inputs in x should be passed through
latexTranslate. This should be set to FALSE if writing
custom code
cat
Logical. Determines if the output is returned as a character string
or returned via the cat function (printed to console). The default
value is set by options()$lazyWeave_cat. This argument allows for
selective override of the default.
Details
cborder (or column border) will create vertical borders in the table.
Borders are placed on the right side of the specified columns. If a
border is needed on the far left side of the table, use 0.
rborder (or row border) acts similarly, but for rows. Borders are
placed under the specified rows. Use 0 if a line is needed at the top of
a table.
Multiple calls to latex.table may be used to make complex tables.
For instance, a header may be desired with group names that span over
three summary values (See example 2). In these instances, it is the
responsibility of the user to make sure the number of columns in each
call is the same as in the other calls. There is no way in lazyWeave
to check the column consistency of tables.
placement options are used as follows:
ht
Place the float here, i.e.,
approximately at the same point it occurs
t
Position at the top of the page
b
Position at the bottom of the page
p
Put on a special page for floats only
H
Places the float at precisely the location in the LaTeX code.
Requires the float package
The "!" may be used after any of these in order to override
LaTeX float rules and force your selection. More can be learned by
reading about floats in a LaTeX manual.