Runs the initialization of the ECM algorithm used for fitting the parsimonious hidden Markov models.
Parallel computing is implemented and highly recommended for a faster calculation.
An array of dimension p x r x n x t, where p is the number of
variables in the rows of each data matrix, r is the number of variables in the columns of each
data matrix, n is the number of data observations and t is the number of times.
k
An integer or a vector indicating the number of states of the models.
nstartR
An integer specifying the number of random starts to be considered.
ncores
A positive integer indicating the number of cores used for running in parallel.
verbose
A logical indicating whether the running output should be displayed.
Value
init
A list of objects to be used by the HMM.fit() function.