remove_consecutive | R Documentation |
When you want to remove/merge consecutive grouping to one, such as combining consecutive survey year to one. Is there a simpler way to do this?
remove_consecutive(x, keep_first = TRUE)
x |
vector of integer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.