This function will compute statistics of sequential events that meets some conditions.
Details
Example: in a vector, what is the maximum size of sequences with values equal or greater than 5?
Examples
# What is the maximum size of sequences with values equal or greater than 5?
trle_cond_stat(c(4,6,6,4,7,8,9), b = 5, b_op = "gte", stat = "max")
#> [1] 3