Description Usage Arguments Value Author(s)
View source: R/utils_helpers.R
i.e. most consecutive days in a row (Implementation is quick and dirty probably not the most efficient one, one pass through unique days)
1 | get_largest_streak(time_vec)
|
time_vec |
POSIXct vector (sorted, length > 1 and no missing values) |
numeric value the largest streak
Emanuel Sommer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.