rleC {TSrepr} | R Documentation |
The rleC
computes RLE from bit-level (clipping or trending representation) vector.
rleC(x)
x |
the integer vector (from |
the list of values and counts of zeros and ones
# clipping
clipped <- clipping(rnorm(50))
rleC(clipped)
# trending
trended <- trending(rnorm(50))
rleC(trended)