rle2: Run length encoding (modified version)

Description Usage Arguments Value See Also

Description

Compute the lengths and values of runs of almost.equal values in a vector.

Usage

1
rle2(x, tolerance = sqrt(.Machine$double.eps))

Arguments

x

numeric vector.

tolerance

numeric. Differences smaller than tolerance are considered as equal. The default value is close to 1.5e-8.

Value

An object of class "rle" which is a list with components:

See Also

almost.equal in this package; rle in package base.


bazar documentation built on May 2, 2019, 7:02 a.m.