grp_replace | R Documentation |
gt_group
container objectThe gt_group()
function can be used to create a container for multiple
gt tables. In some circumstances, you might want to replace a specific
gt_tbl
object (or multiple) with a different one. This can be done with the
grp_replace()
function. The important thing is that the number of gt
tables provided must equal the number of indices for tables present in the
gt_group
object.
grp_replace(.data, ..., .list = list2(...), .which)
.data |
The gt table group object
This is a |
... |
One or more gt table objects
One or more gt table ( |
.list |
Alternative to
Allows for the use of a list as an input alternative to |
.which |
The tables to replace
A vector of index values denoting which gt tables should be replaced
inside of the |
An object of class gt_group
.
14-6
v0.9.0
(Mar 31, 2023)
Other table group functions:
grp_add()
,
grp_clone()
,
grp_options()
,
grp_pull()
,
grp_rm()
,
gt_group()
,
gt_split()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.