setStatus {ocd}R Documentation

Set changepoint detector status

Description

Set changepoint detector status

Usage

setStatus(detector, new_status)

Arguments

detector

Object of class 'Changepoint Detector'

new_status

'estimating' or 'monitoring'

Details

If the status is set to 'estimating', new observations are used to update current estimate of pre-change mean and standard deviation. If the status is set to 'monitoring', new observations are used to check if mean change has occurred.

Value

Updated object detector


[Package ocd version 1.1 Index]