rsi: Run Start Indices

Description Usage Arguments Value Examples

Description

Find the starting indices of runs in a vector.

Usage

1
  rsi(x)

Arguments

x

a vector of data.

Value

a vector of indices indicating starting points for runs

Examples

1
rsi(c(0,0,0,1,2,2,3,3,3,3,3,4))


Search within the Rmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.