# NOT RUN {
## A quantitative example with the famous geyser data set
data(geyser)
## with default values
mixmodCluster(geyser, nbCluster=2:6)
## A qualitative example with the birds data set
data(birds)
mixmodCluster(data=birds, nbCluster = 2:5, criterion= c("BIC","ICL","NEC"),
model = mixmodMultinomialModel())
## use graphics functions
xem <- mixmodCluster(data=geyser, nbCluster=3)
# }
# NOT RUN {
plot(xem)
hist(xem)
# }
# NOT RUN {
## get summary
summary(xem)
## A composite example with a heterogeneous data set
data(heterodata)
mixmodCluster(heterodata,2)
# }
Run the code above in your browser using DataLab