Skip to contents

S3 implementation of dplyr::group_by() that accepts a chronogram and returns an object of grouped_cg_df class & the reverse dplyr::ungroup_by().

An S3 implementation of dplyr::ungroup() that accepts a grouped_cg_df and returns a chronogram. This retains the attributes from the orginal chronogram.

Usage

# S3 method for class 'cg_tbl'
group_by(.data, ..., .add = FALSE, .drop = dplyr::group_by_drop_default(.data))

# S3 method for class 'grouped_cg_df'
ungroup(x, ...)

Arguments

.data

input chronogram, cg_tbl

..., .add, .drop

arguments expected by group_by S3

x

input chronogram, grouped_cg_df

See also