Learn R Programming

ocd (version 1.1)

checkChange: Check if a mean change has occurred.

Description

Check if a mean change has occurred.

Usage

checkChange(detector)

Arguments

detector

Object of class 'Changepoint Detector'

Value

Updated object detector

Details

The normalisedStatistics funcrtion is used to check if any of the test statistics are above the threshold level. If this happens, the status of the detector is changed to record the time of change and a message is printed to the standard output declaring the change.

See Also

normalisedStatistics, setStatus,