This is the method of format_html
for "ftable" objects (i.e. flattened
contingency tables)
# S3 method for ftable
format_html(x,
show.titles = TRUE,
digits = 0,
format = "f",
toprule = 2, midrule = 1, bottomrule = 2,
split.dec = TRUE,
style = ftable_format_stdstyle,
margin="2ex auto",
...)
# S3 method for ftable_matrix
format_html(x,
show.titles=TRUE,
digits=0,
format="f",
toprule=2,midrule=1,bottomrule=2,
split.dec=TRUE,
style = ftable_format_stdstyle,
margin="2ex auto",
varontop,
varinfront,
grouprules=1,
multi_digits=NULL,
...)
an object of class ftable
.
logical; should the names of the cross-classified variables be shown?
number of digits to be shown after the decimal dot. This is only useful, if
the "ftable" object was created from a table created with genTable
or the like.
a format string for formatC
integer; thickness in pixels of rule at the top of the table.
integer; thickness in pixels of rules within the table.
integer; thickness in pixels of rule at the bottom of the table.
logical; whether numbers should be centered at the decimal point by splitting the table cells.
string containing the standard CSS styling of table cells.
character string, determines the margin and thus the position of the HTML table.
logical; whether names of column variables should appear on top of factor levels
logical; whether names of row variables should appear in front of factor levels
integer, should be either 1 or 2; whether one or two rules should drawn to distinguish groups of rows.
NULL, a numeric vector, or a list. If it is a list it should have as many elements as the "ftable_matrix" contains columns, where each vector has as many columns as the respective "ftable". If it is a vector, it is put into a list with replicated elements according to the "ftable" components. The elements of these vectors can be used to specify a separate number of digits for each column of the respective "ftable".
further arguments, ignored.
See Also as format_html
, show_html
, write_html
.