View source: R/data_transformation.R
| group_if_consecutive | R Documentation |
Create groups if values are consecutive
group_if_consecutive(x)
x |
The vector over which to create groups. |
A integer vector showing the consecutive groups of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.