R Under development (unstable) (2025-02-26 r87830 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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("flexclust") > > ## make sure bootFlexclust works also for only one number of clusters > data(Nclus) > b <- bootFlexclust(Nclus, 3, nboot=10, multicore=FALSE) > print(b) An object of class 'bootFlexclust' Call: bootFlexclust(x = Nclus, k = 3, nboot = 10, multicore = FALSE) Number of bootstrap pairs: 10 > summary(b) Call: bootFlexclust(x = Nclus, k = 3, nboot = 10, multicore = FALSE) Summary of Rand Indices: 3 Min. :0.4227 1st Qu.:0.4858 Median :0.9749 Mean :0.7807 3rd Qu.:0.9923 Max. :1.0000 > > pdf("boot.pdf") > plot(b) > densityplot(b) > dev.off() null device 1 > > proc.time() user system elapsed 0.73 0.06 0.78