segment_by: Segment a dataframe according to consecutive identical values...

View source: R/df_utils.R

segment_byR Documentation

Segment a dataframe according to consecutive identical values of a column expression.

Description

Segment a dataframe according to consecutive identical values of a column expression.

Usage

segment_by(df, column, var = "segment")

tanaylab/tgutil documentation built on March 16, 2024, 12:07 a.m.