This function launches the segmentation of a signal.
segmentation(signal, Rho = NULL, position = NULL, plot = TRUE, verbose = TRUE)
A vector containing the signal.
A vector containing all the penalization values to test for the segmentation. If no values are provided, default values will be used.
A vector containing the position of all elements of the signal (not necessary)
if TRUE, plot the segmentation results
if TRUE print some informations
a list containing
A vector containing the signal.
A vector of the same size as signal containing the segmented values.
The position of each probe.
A data.frame that summarizes the results of the segmentation. Each row is a different segment with the start position, end position, number of points in the signal and the value of the segment.