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 <email@example.com>. Thanks to Tobias Verbeke for the suggestion.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.