Learn R Programming

ffstream (version 0.1.7.2)

cpp_detectFFFMeanMultiple: Search for multiple changepoints in the mean using FFF

Description

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

Usage

cpp_detectFFFMeanMultiple(x, lambda, alpha, BL)

Value

A list with

tauhat

A vector of the changepoints found.

Arguments

x

Vector of numeric values values.

lambda

Value for the fixed forgetting factor in \((0,1)\).

alpha

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

BL

Value for the burn-in length.