checkChange: Check if a mean change has occurred.

Description Usage Arguments Details Value See Also

View source: R/ocd.R

Description

Check if a mean change has occurred.

Usage

1
checkChange(detector)

Arguments

detector

Object of class 'Changepoint 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.

Value

Updated object detector

See Also

normalisedStatistics, setStatus,


ocd documentation built on Oct. 23, 2020, 5:56 p.m.