Description Usage Arguments Details Value Author(s)
Find sequences of integers in numeric vector v.
1 |
v |
A numeric vector containing only whole numbers. |
step |
The step size and direction (distance between adjacent items) for identifying series. Note that the sign of the step matters. Use positive values for monotonically increasing series and negative values for monotonically decreasing series. Defaults to 1. |
minseries |
The minimimum series length. Defaults to 2. |
Takes a vector of whole numbers and returns a matrix with 3 columns: (1) integer at beginning of series, (2) index pointing to beginning of series, (3) length of series
numeric matrix with 3 columns and 1 row for each series.
David Braze davebraze@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.