a numeric vector of the raw data or a three-column matrix of the binned data
ncomp
a positive integer specifying the number of components for a mixture model
init.method
the method used for providing initial values, which can be one of
kmeans or hclust.
Details
The function initz returns the mean and standard deviation of each component
of a mixture model by using K-means clustering algorithm, or hierarchical clustering
method. It is used for automatically selecting initial values for the EM algorithm,
so as to enable mixture model selection by bootstrapping likelihood ratio test or
using information criteria.