sgtable {dpseg} | R Documentation |
construct a segment table
Description
Constructs a segment table from segment ends (imax
) returned
by dpseg
backtracing functions
backtrace_r
and backtrace_c
. Correct segment
break-points require to know whether segment recursion was run with
the jumps
option of dpseg
. In joint segments
(jumps=FALSE
) segment borders are part of both left and
right segments.
Usage
sgtable(ends, starts, jumps = TRUE)
Arguments
ends |
integer vector of segment ends |
starts |
integer vector of segment starts |
jumps |
same parameter as passed to recursion function, allowing for discontinous jumps (TRUE) or enforcing joint segments (FALSE) |
Value
a table with segment start
and end
columns
[Package dpseg version 0.1.1 Index]