X should be a numerical matrix containing sequence data that
can be transfered by code2nid or code2sid. Note: gaps - are not supported yet, drop them from data.
EMC contains all options used for EM algorithms.
manual.id manually input class ids as an initialization only for
the initialization method, 'manualMu'.
byrow used in bootstraps to avoid transposing matrix 'X'. If
FALSE, then the 'X' should be have the dimension $L\times K$.
init.procedure and init.method are methods for searching
the best result. This function will try all combinations of these two
options.
file.tmp is used to save temporary results due to long computing.
If NULL, there will no saving in each combinations.