Find contiguous sequences in a vector of integers
Get all sequences of contiguous values in a vector of integers.
A vector of integers, for example, representing
A matrix with one row for each sequence, and two columns containing the start and the end of the sequence, respectively.
Chris Jackson <firstname.lastname@example.org>. Thanks to Tobias Verbeke for the suggestion.
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.