Description Usage Arguments Details Examples
For an input vector which contains a sequence of runs, these functions identify the first and last points in each run. They return a logical vector.
1 2 3 |
x |
a vector with runs |
a |
logical vector; |
These functions use rle to compute a run length encoding for the vector and extract the first and last elements in each run from the lengths of each run.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.