stableEM(x, K, numEMstart = 5, method = "separate", Sdist = "weibull", cutpoint = NULL,
EMoption = "classification", EMstop = 0.0001, maxiter = 1000, print.likvec = TRUE)NA's allowed).separate no restrictions are imposed, main.g relates to a group main effect, 
  main.p to the variables main effects. main.gp reflects the proportionality assumption over groups
  and variables. int.gp allows for interactions between groups and variables.weibull, exponential, and rayleigh.classification is based on deterministic cluster assignment, 
  maximization on deterministic assignment, and randomization 
  provides a posterior-based randomized cluster assignement.TRUE the likelihood values for different starting solutions are printed.mws with the following values:
  NA structurephmclust the best model is chosen, i.e., the model with the largest likelihood value. 
The output values refer to this final model.
phmclust,msBIC
## Exponental mixture model with 2 components for 4 different starting solutions
data(webshop)
res <- stableEM(webshop, K = 2, numEMstart = 4, Sdist = "exponential")
res
summary(res)
Run the code above in your browser using DataLab