Description Usage Arguments Value Examples
The reverse of 'base::rep()' function: decompose an atomic vector to its successive values and their length.
1 |
x |
The atomic vector to examine. |
idx |
Should the indexes (start and end) of homogeneous sequences be returned as well ? |
A data frame with values and lengths of the homogeneous sequences of x. The class of the column 'value' is copied from the input.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.