Learn R Programming

ffstream (version 0.1.7.2)

initFFFMeanCD: Initialisation of FFF mean change detector

Description

This function makes it simple to initalise an FFF object.

Usage

initFFFMeanCD(alpha = 0.01, lambda = 1, BL = 50)

Value

A FFF mean change detector object.

Arguments

alpha

The value of the significance level. Default value is 0.01, although it is recommended that the user set this parameter.

lambda

The value of the fixed forgetting factor. Default value is lambda=1.

BL

The length of the burn-in region. Default value is BL=50.

Examples

Run this code
library(Rcpp)
fffcd1 <- initFFFMeanCD()               # initialises with alpha=0.01
                                        
fffcd2 <- initFFFMeanCD(0.05, 0.95)     # initialises with alpha=0.05
                                        # and lambda=0.95 (and BL=50)

Run the code above in your browser using DataLab