powered by
Function for finding longest consecutive run of non-missing indices
longest_run(x)
A named list, containing arguments:
from
The first index of the longest run.
to
The last index of the longest run.
step
The stepsize of the longest run.
A vector of indices for which to find the longest consecutive run of indices