The reverse of 'base::rep()' function: decompose an atomic vector to its successive values and their length.
The atomic vector to examine.
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.