R Under development (unstable) (2023-12-12 r85669 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(Rmixmod) Loading required package: Rcpp Rmixmod v. 2.1.10 / URI: www.mixmod.org > data(iris) > data <- iris[, 1:4] > > labels <- c(rep(1, 40), rep(2, 70), rep(3, 40)) > > # strategy = new("Strategy", initMethod="partition", labels=labels) > strategy <- mixmodStrategy(initMethod = "label", labels = labels) > > out <- mixmodCluster(data, nbCluster = 3, strategy = strategy) > > proc.time() user system elapsed 0.25 0.06 0.29