From the results of a segmentation of a signal for different values of a segmentation parameter rho, this function will search an optimal value of rho corresponding to the biggest plateau (stabilization in the number of breakpoints).
findPlateau(resSeg, Rho, plot = TRUE, verbose = TRUE)
a list, each element of the list is a vector with the breakpoints for a value of Rho.
vector with the values of Rho.
if TRUE, some graphics will be plotted.
if TRUE print some informations.
a list containing:
Optimal parameter found.
A vector with the first and the last position of the biggest plateau.
A matrix of 3 columns, each row corresponds to a different plateau. The first colum is the starting value of a plateau, the second, the length of the plateau and the third, the number of values of rho contained in the plateau.