seq_consecutive {dostats} | R Documentation |
computes a vector that changes every time the element is different from the previous.
seq_consecutive(x, ...)
x |
a vector |
... |
ignored, might be used for forward compatibility. |
an integer vector.