label.runs: label.runs

View source: R/utils.R

label.runsR Documentation

label.runs

Description

For logical input labels all instances of "TRUE" with a unique label and everything else as false

For non-logical (e.g. character) input labels, labels each contiguous runs of the same value with a unique label (note: even subsequent runs of an earlier used value in the vector will be given a new unique label)

Usage

label.runs(x)

Author(s)

Marcin Imielinski


mskilab/gGnome documentation built on May 8, 2024, 4:25 p.m.