streak: Identify streaks

Description Usage Arguments

View source: R/streak.R

Description

Identify chained repetitions (streak) of a value in a vector, and count the length of the streak

Usage

1
streak(x, value = 0)

Arguments

x

A vector

value

The value to be counted


databrew/databrew documentation built on Feb. 1, 2020, 2:28 p.m.