From a threshold variable and the corresponding processes calculate a vector indicating the number of the regime of each observation.
lists_ind(r,Zt,l,...)
value for the threshold variable
threshold processes univariate
number of regimes
other arguments passed to specific methods
Vector of length N indicating the number of the regime of each observation