mergeTwoSegments.AbstractCBS: Merge two neighboring segments

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

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

Arguments

left

An integer specifying the segments (left, left+1) to be merged.

update

If TRUE, segment statistics are updated.

verbose

A logical or a Verbose object.

...

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.


PSCBS documentation built on July 4, 2017, 9:10 a.m.