powered by
Automatic estimation of penalty parameter lambda for user defined breakpoints number.
lambda_estimator(Y, K)
An object of S4 class "MSigSeg".
An data.frame/matrix containing the data to be segmented. Each column stores a signal.
Number of change points users want to detect.
This function is based on the segmentation() function. Number of breakpoints are defined by users and lambda is calculated by algorithm automatically.
data(data_test) lambda_estimator(data_test,5)
Run the code above in your browser using DataLab