rle_ff: Compute the lengths and values of runs of equal values in a...

Description Usage Arguments Value Note See Also

View source: R/rle_ff.R

Description

Similar rle in the base package but for ff vectors.

Usage

1
rle_ff(x, ...)

Arguments

x

an ff vector

...

further arguments are passed on the chunk

Value

An object of class rle which is a list with components

lengths

an integer vector containing the length of each run.

values

a vector of the same length as ‘lenghts’ with the corresponding values.

Note

The resulting rle object is a memory object and must fit into memory.

See Also

rle for an implementation that runs on ordinary vectors.


ffbase documentation built on Feb. 27, 2021, 5:06 p.m.