breakInSequence | R Documentation |
Find "Breaks" in a Sequence of Numbers
breakInSequence(x, expectedDiff = 1)
x |
vector of numeric |
expectedDiff |
expected difference between elements in x. A bigger difference is recognised as a break. Default: 1 |
index of elements after which a break occurs or integer(0) if no break occurs at all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.