trle {nseq} | R Documentation |
Given a tibble object and a variable y
, this function will count the number of occurrence of each element in y
in the sequence that they appear, and return this count as a tibble object.
trle(x)
x |
a vector. |
a data.frame
object.
trle(c(8,15,20,0,0,0,0,5,9,12))