Learn R Programming

tidytable (version 0.10.2)

is_grouped_df: Check if the tidytable is grouped

Description

Check if the tidytable is grouped

Usage

is_grouped_df(x)

Arguments

x

An object

Examples

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

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

Run the code above in your browser using DataLab