View source: R/htmlTable_helpers_prepareCgroup.R
| prPrepareCgroup | R Documentation | 
Due to the complicated structure of multilevel cgroups there some preparation for the cgroup options is required.
prPrepareCgroup(x, cgroup = NULL, n.cgroup = NULL, style_list)
| x | The matrix/data.frame with the data. For the  | 
| cgroup | A vector, matrix or list 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, matrix or list containing the number of columns for which each element in
cgroup is a heading. For example, specify  | 
list(cgroup, n.cgroup, align.cgroup, cgroup_spacer_cells)
Other hidden helper functions for htmlTable: 
prAddCells(),
prAddEmptySpacerCell(),
prAddSemicolon2StrEnd(),
prEscapeHtml(),
prGetCgroupHeader(),
prGetRowlabelPos(),
prGetStyle(),
prPrepInputMatrixDimensions(),
prPrepareAlign(),
prTblNo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.