View source: R/internal-longest_run.R
longest_run | R Documentation |
Function for finding longest consecutive run of non-missing indices
longest_run(x)
x |
A vector of indices for which to find the longest consecutive run of indices |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.