findRuns: Finds runs of TRUE values in a boolean vector

findRunsR Documentation

Finds runs of TRUE values in a boolean vector

Description

Finds runs of TRUE values in a boolean vector

Usage

findRuns(bools)

Arguments

bools

a logical vector

Value

an integer matrix with columns 'start' and 'end' indicating runs


jweile/yogitools documentation built on May 11, 2023, 7:42 p.m.