calcSegmentIntervals: Determine all of the indices where a transition in value...

Description Usage Arguments Examples

View source: R/XHMM_functions.R

Description

Determine all of the vector indices where a transition in value occurs along the input vector.

Usage

1
calcSegmentIntervals(valuesVectorList)

Arguments

valuesVectorList

Examples

1
2
ints = c(rep(1, 100), rep(2, 200), rep(3, 300))
breaks = calcSegmentIntervals(list(ints))

Example output



xhmmScripts documentation built on May 2, 2019, 1:01 a.m.