TSrepr (version 1.0.4)

rleC: RLE (Run Length Encoding) written in C++

Description

The rleC computes RLE from bit-level (clipping or trending representation) vector.

Usage

rleC(x)

Arguments

x

the integer vector (from clipping or trending)

Value

the list of values and counts of zeros and ones

Examples

Run this code
# NOT RUN {
# clipping
clipped <- clipping(rnorm(50))
rleC(clipped)
# trending
trended <- trending(rnorm(50))
rleC(trended)

# }

Run the code above in your browser using DataLab