add_colgroup | R Documentation |
add_colgroup
Adds a layout objet to another layout object, as a new column group.
add_colgroup(object, object2, position = "left")
object |
A layout object including a body containing the table. |
object2 |
A layout object including a body containing the table. The column used for matching is not added. |
position |
A character value 'left' or 'right' specifying where the new columns should be added. Any specification other than 'right' will be interpreted as 'left'. |
by |
A character element with the name of the column specifying the column to use for joining (must be named identically in the layout object and the data frame containing the columns to be added). |
A layout object with new column group added.
prepare
for making a layout object.
Other table layout:
add_cols()
,
add_rowgroup()
,
add_units()
,
firstrow_css()
,
layout_html()
,
order_by_vector()
,
order_layout()
,
prepare()
,
print_abbrev()
,
query_abbrev()
add_colgroup(example_layout, example_layout, position = 'left')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.