add_rowgroup | R Documentation |
add_rowgroup
Adds a row group to a layout object and assigns separate row group headers displayed when printing as html. The original object@body will be used as the first row group.
add_rowgroup(object, object2, rgroup_names = "")
object |
A layout object including a body containing the table. |
object2 |
A layout object including a body containing in its @body the row group to be added. |
rgroup_names |
A character vector specifying the names (labels) to be used for the row groups. |
An S4 object with rows- and row group specifications added.
prepare
for making a layout object and layout_html
for printing a html table from such an object.
Other table layout:
add_colgroup()
,
add_cols()
,
add_units()
,
firstrow_css()
,
layout_html()
,
order_by_vector()
,
order_layout()
,
prepare()
,
print_abbrev()
,
query_abbrev()
example_layout <- add_rowgroup(example_layout, example_layout_width, rgroup_names = c("Sepal Length", "Sepal Width"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.