Learn R Programming

srvyr (version 1.3.0)

groups: Get/set the grouping variables for tbl.

Description

These functions do not perform non-standard evaluation, and so are useful when programming against tbl objects. ungroup is a convenient inline way of removing existing grouping.

Arguments

x

data tbl_df or tbl_svy object.

See Also

groups for information.