powered by
Similar rle in the base package but for ff vectors.
rle
ff
rle_ff(x, ...)
an ff vector
further arguments are passed on the chunk
chunk
An object of class rle which is a list with components
an integer vector containing the length of each run.
a vector of the same length as `lenghts' with the corresponding values.
rle for an implementation that runs on ordinary vectors.