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


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