backtrace_r {dpseg} | R Documentation |
backtracing dpseg
segment break-points
Description
Backtracing segment borders from the imax
vector of a
dpseg
recursion. This function is implemented more
efficiently in Rcpp; the R code is kept for documentation,
benchmarking and development.
Usage
backtrace_r(imax, jumps = 0)
Arguments
imax |
integer vector of segment borders as returned by
|
jumps |
allwo discontinuous jumps: move 1 index position back,
only for |
Value
an integer vector of segment ends
[Package dpseg version 0.1.1 Index]