segment.consecutives_to_dwells {scbursts} | R Documentation |
Collapses a segment into dwells with alternating conductance levels.
Description
Segments may contain consecutive dwells with the same conductance level. consecutives_to_dwells sums together all consecutive dwells with the same conductance level. The result is a segment containing dwells that alternate in conductance level (i.e. 1,0,1,0,1,...)
Usage
segment.consecutives_to_dwells(segment)
Arguments
segment |
The dwells and states table |
Value
A modified copy of the original segment
[Package scbursts version 1.6 Index]