segment.consecutives_to_dwells {scbursts} | R Documentation |
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,...)
segment.consecutives_to_dwells(segment)
segment |
The dwells and states table |
A modified copy of the original segment