indexToRange | R Documentation |
Take a vector of indices and returns ranges of contiguous regions.
indexToRange(index)
index |
Indices to be condensed e.g. from |
A data frame with columns:
Start of a contiguous region
End of a contiguous region
indexToRange(c(1:10,11,14,16,17:20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.