(Over-)estimate and remove change-points in the mean for scale estimation and bootstrapping
clean.cp(z, type = c("dcbs", "sbs"), phi = 0.5, trim = NULL, height = NULL)a list containing
z with potential change-points in the mean removed
mat object of an S3 bin.tree object
input data matrix, with each row representing the component time series
if type = 'dcbs', a binary tree of given height is grown using DCBS algorithm without thresholding, if type = 'sbs', the binary trees is grown using the SBS algorithm with thresholds chosen small
see dcbs.alg