Description Usage Arguments Value See Also
Compute the lengths and values of runs of
almost.equal
values in a vector.
1 |
x |
numeric vector. |
tolerance |
numeric. Differences smaller than tolerance are considered as equal.
The default value is close to |
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 lengths with the
corresponding values.
almost.equal
in this package;
rle
in package base.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.