setStatus: Set changepoint detector status

Description Usage Arguments Details Value

View source: R/ocd.R

Description

Set changepoint detector status

Usage

1
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


wangtengyao/ocd documentation built on Oct. 4, 2020, 1:32 p.m.