powered by
This function makes it simple to initalise a 'CUSUM' object.
initCUSUMMeanCD(k = 0.25, h = 8, BL = 50)
A CUSUM mean change detector object.
One of the 'CUSUM' control parameters. Default value is k=0.25.
k=0.25
One of the 'CUSUM' control parameters. Default value is h=8.00.
h=8.00
The burn-in length to be used with a 'CUSUM' change detector. Default value is BL=50.
BL=50
library(Rcpp) c1 <- initCUSUMMeanCD() # initialises with k=0.25, h=8.00, BL=50 c2 <- initCUSUMMeanCD(k=0.5, h=4.00, BL=30)
Run the code above in your browser using DataLab