get_largest_streak: Get Largest streak from POSIXct vector

Description Usage Arguments Value Author(s)

View source: R/utils_helpers.R

Description

i.e. most consecutive days in a row (Implementation is quick and dirty probably not the most efficient one, one pass through unique days)

Usage

1

Arguments

time_vec

POSIXct vector (sorted, length > 1 and no missing values)

Value

numeric value the largest streak

Author(s)

Emanuel Sommer


Eleftheria1/whatsalyze documentation built on Dec. 17, 2021, 6:24 p.m.