mergeTwoSegments.AbstractCBS: Merge two neighboring segments

mergeTwoSegments.AbstractCBSR Documentation

Merge two neighboring segments

Description

Merge two neighboring segments into one segment, which is done by dropping their common change point and recalculating the segment statistics.

Usage

## S3 method for class 'AbstractCBS'
mergeTwoSegments(...)

Arguments

...

Not used.

Value

Returns an AbstractCBS of the same class with one less segment.

Author(s)

Henrik Bengtsson

See Also

To merge a segment and its two flanking segments, see *mergeThreeSegments(). To drop regions (a connected set of segments) see *dropRegions(). For more information see AbstractCBS.


HenrikBengtsson/PSCBS documentation built on Feb. 20, 2024, 9:01 p.m.