rsi

0th

Percentile

Run Start Indices

Find the starting indices of runs in a vector.

Usage
rsi(x)
Arguments
x
a vector of data.
Value

a vector of indices indicating starting points for runs

Aliases
  • rsi
Examples
rsi(c(0,0,0,1,2,2,3,3,3,3,3,4))
Documentation reproduced from package Rmisc, version 1.5, License: GPL-3

Community examples

Looks like there are no examples yet.