Gets the number of rgroup htmlLine
prGetRgroupLine(x, total_columns, rgroup, rgroup_iterator, cspan, rnames,
align, style, cgroup_spacer_cells, col.columns, css.row,
padding.tspanner)
The matrix/data.frame with the data. For the print
and knit_print
it takes a string of the class htmlTable
as x
argument.
The total number of columns including the rowlabel and the spacer cells
A vector of character strings containing headings for row groups.
n.rgroup
must be present when rgroup
is given. See
detailed description in section below.
An integer indicating the rgroup
The column span of the current rgroup
A character strings specifying column alignments, defaulting to
paste(rep('c',ncol(x)),collapse='')
to center. Valid alignments are
l = left, c = center and r = right. You can also specify align='c|c'
and
other LaTeX tabular formatting. If you want to set the alignment of the
rownames this string needst to be ncol(x) + 1
, otherwise it automatically
pads the string with a left alignment for the rownames.
The css style corresponding to the rgroup css style that includes
the color specific for the rgroup, i.e. col.rgroup
.
The vector indicating the position of the cgroup spacer cells
Alternating colors for each column.
The css.cell information for this particular row.
The tspanner padding