A gt_group object, created through use of the gt_group() function, can
hold a multiple of gt tables. However, you might want to delete one or
more gt_tbl objects table from that container. With grp_rm(), this is
possible and safe to perform. What's returned is a gt_group object with the
specified gt_tbl objects gone. 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_groupcontainer object. It is typically generated through use ofgt_group()along with one or moregt_tblobjects, or, made by splitting a gt table withgt_split().- which
The table to remove from the group
scalar<numeric|integer>// requiredA single index value denoting which
gt_tbltable should be removed from thegt_groupobject.
See also
Other table group functions:
grp_add(),
grp_clone(),
grp_options(),
grp_pull(),
grp_replace(),
gt_group(),
gt_split()