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 Sept. 11, 2024, 8:05 p.m.