| HMM.init {FourWayHMM} | R Documentation | 
Initialization for the ECM algorithm
Description
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.
Usage
HMM.init(X, k = 1:3, nstartR = 100, ncores = 1, verbose = FALSE)
Arguments
| X | An array of dimension  | 
| 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  | 
Examples
data(simX)
init <- HMM.init(X = simX, k = 2, nstartR = 1)