tblranges: Generate ranges from a table

View source: R/ranges.R

tblrangesR Documentation

Generate ranges from a table

Description

Like colranges, but vectorized over a table.

Usage

tblranges(.data, time_col, group_col = NULL, maxdt = Inf)

Arguments

.data

(data.frame)

time_col

(character) Name of temporal column.

group_col

(character) Name of grouping column.

maxdt

(numeric) Maximum difference in time_col to consider as continuous.


columbia-glacier/cgr documentation built on Jan. 17, 2024, 2:42 p.m.