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()

tidytable documentation built on Oct. 5, 2023, 5:07 p.m.