Should you have a gt_group
object, created through use of the gt_group()
function, you may have a need to extract a gt table from that container.
The grp_pull()
function makes this possible, returning a gt_tbl
object.
The only thing you need to provide is the index value for the gt table
within the gt_group
object.
Arguments
- data
The gt table group object
obj:<gt_group>
--- requiredThis is a
gt_group
container object. It is typically generated through use of thegt_group()
function along with one or moregt_tbl
objects, or, made by splitting a gt table withgt_split()
.- which
The table to pull from the group
scalar<numeric|integer>
--- requiredA single index value denoting which
gt_tbl
table should be obtained from thegt_group
object.
See also
Other table group functions:
grp_add()
,
grp_clone()
,
grp_options()
,
grp_replace()
,
grp_rm()
,
gt_group()
,
gt_split()