Learn R Programming

dplyr (version 0.7.8)

tbl_vars: List variables provided by a tbl.

Description

tbl_vars() returns all variables while tbl_nongroup_vars() returns only non-grouping variables.

Usage

tbl_vars(x)

tbl_nongroup_vars(x)

Arguments

x

A tbl object

See Also

group_vars() for a function that returns grouping variables.