Learn R Programming

tidytable (version 0.10.2)

group_cols: Selection helper for grouping columns

Description

Selection helper for grouping columns

Usage

group_cols()

Arguments

Examples

Run this code
df <- tidytable(
  x = c("a", "b", "c"),
  y = 1:3,
  z = 1:3
)

df %>%
  group_by(x) %>%
  select(group_cols(), y)

Run the code above in your browser using DataLab