prep_segm find the different segment and states of a given HMM model

prep_segm(data, param, seg.type = NULL, nseg = NULL)

Arguments

data

the data.frame with the different variable

param

the param output of the segmentation

seg.type

either 'hybrid' or 'dynprog'

nseg

number of segment chosen

Value

a data.frame with states of the different segments