Learn R Programming

PSCBS (version 0.67.0)

mergeThreeSegments.AbstractCBS: 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 AbstractCBS
mergeThreeSegments(fit, middle, ...)

Value

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

Arguments

middle

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

...

Additional arguments passed to *mergeTwoSegments().

Author

Henrik Bengtsson

See Also

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