List variables provided by a tbl.
tbl_vars()
returns all variables while tbl_nongroup_vars()
returns only non-grouping variables. The groups
attribute
of the object returned by tbl_vars()
is a character vector of the
grouping columns.
tbl_vars(x) tbl_nongroup_vars(x)
x |
A tbl object |
group_vars()
for a function that returns grouping
variables.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.