is_grouped: Is a data table grouped?

Description Usage Arguments Value Examples

View source: R/asymmetrise.R

Description

Determines if the input data frame or tibble is grouped (using dplyr::group_by()

Usage

1

Arguments

data

input data.frame or tibble

Value

boolean

Examples

1
2
3
4
df <- data.frame(x = c(1:5), g = c(1, 1, 2, 2, 2))
is_grouped(df)

is_grouped(dplyr::group_by(df, g))

ggasym documentation built on May 16, 2021, 1:07 a.m.