`R/segTraj_ruptAsMat.R`

`ruptAsMat.Rd`

ruptAsMat is an internal function to transform a vector giving the change point to matrix 2 columns matrix in which each line gives the beginning and the end of a segment

`ruptAsMat(vectRupt)`

- vectRupt
the vector of change point

the matrix containing the segments