prGetThead {htmlTable} | R Documentation |
Renders the table head (thead)
prGetThead(x, header, cgroup, n.cgroup, caption, pos.caption, compatibility, total_columns, align.cgroup, css.cgroup, top_row_style, rnames, rowlabel, pos.rowlabel, cgroup_spacer_cells, css.cell, align.header, cell_style)
x |
The matrix/data.frame with the data. For the |
header |
A vector of character strings specifying column
header, defaulting to |
cgroup |
A vector or a matrix of character strings defining major column header. The default
is to have none. These elements are also known as column spanners. If you want a column not
to have a spanner then put that column as "". If you pass cgroup and |
n.cgroup |
An integer vector or matrix containing the number of columns for which each element in
cgroup is a heading. For example, specify |
caption |
Adds a table caption. |
pos.caption |
Set to |
compatibility |
Is default set to |
total_columns |
The total number of columns including the rowlabel and the specer cells |
align.cgroup |
The justification of the |
css.cgroup |
The same as |
top_row_style |
The top row has a special style depending on
the |
rnames |
Default rownames are generated from |
rowlabel |
If the table has rownames or |
pos.rowlabel |
Where the rowlabel should be positioned. This value can be |
cgroup_spacer_cells |
The spacer cells due to the multiple cgroup levels.
With multiple rows in cgroup we need to keep track of how many spacer cells
occur between the columns. This variable contains is of the size |
css.cell |
The css.cell element allows you to add any possible CSS style to your table cells. See section below for details. |
align.header |
A character strings specifying alignment for column header,
defaulting to centered, i.e. |
string
Returns the html string for the <thead>...</thead>
element