Learn R Programming

dostats (version 1.1.20120309)

seq_consecutive: compute an indicator to group consecutive values

Description

compute an indicator to group consecutive values

Usage

seq_consecutive(x, ...)

Arguments

x
a vector
...
ignored, might be used for forward compatibility.

Value

  • an integer vector.