the data.frame / matrix you want
to convert to an HTML table
attr
attributes to be passed to the
tag, as raw HTML.
row.spans
a matrix specifying desired row.spans,
for largers cells.
col.spans
a matrix specifying desired column
spans, for larger cells
use.row.names
if you submit an object with row
names, use those names in construction of the table
use.col.names
if you submit an object with column
names, use those names in construction of the table
clean
boolean. if TRUE, rounds all numeric
values to 2 decimal places for better printing
replace.periods
replace periods with spaces?
Details
The row.spans and col.spans argument can be specified as
a matrix to set the row or column span of a certain cell
to be >1, if desired. See pxt for an
example implementation. It will also handle 'boxes', eg
cells with both rowspan and colspan > 1.
Note that the default behavior is to 'clean' your
data; this rounds numeric output to two decimal places so
it prints more nicely.