is_grouped_df: Check if the tidytable is grouped

View source: R/group_by.R

is_grouped_dfR Documentation

Check if the tidytable is grouped

Description

Check if the tidytable is grouped

Usage

is_grouped_df(x)

Arguments

x

An object

Examples

df <- data.table(
  a = 1:3,
  b = c("a", "a", "b")
)

df %>%
  group_by(b) %>%
  is_grouped_df()

mtfairbanks/gdt documentation built on Jan. 26, 2025, 8:24 a.m.