mergeThreeSegments.AbstractCBS: Merge a segment and its two flanking segments

mergeThreeSegments.AbstractCBSR Documentation

Merge a segment and its two flanking segments

Description

Merge a segment and its two flanking segments into one segment, and recalculating the segment statistics.

Usage

## S3 method for class 'AbstractCBS'
mergeThreeSegments(fit, middle, ...)

Arguments

middle

An integer specifying the three segments (middle-1, middle, middle+1) to be merged.

...

Additional arguments passed to *mergeTwoSegments().

Value

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

Author(s)

Henrik Bengtsson

See Also

Internally *mergeTwoSegments() is used. For more information see AbstractCBS.


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