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 Feb. 17, 2025, 8:18 p.m.