Learn R Programming

ffstream (version 0.1.7.2)

cpp_detectAFFMeanMultiple: Search for multiple changepoints in the mean using AFF

Description

Given a vector x, a threshold alpha, a step size eta, and a burn-in length BL, returns a list containing the changepoints. Algorithm is implemented in 'C++'.

Usage

cpp_detectAFFMeanMultiple(x, alpha, eta, BL)

Value

A list with

tauhat

A vector of the changepoints found.

Arguments

x

Vector of numeric values values.

alpha

Value for the significance threshold in \((0,1)\).

eta

Value for the step size in \((0,1)\).

BL

Value for the burn-in length.