powered by
Perform Hartigan-Wong stats::kmeans() algorithm as many times as possible. The values of k are from 2 to the number of rows minus 1.
stats::kmeans()
iterative_clustering(data, parallel = TRUE)
input matrix with paired times, i.e. samples to be stressed to multiple iterations.
logical; FALSE to sequentially run the internal loop or TRUE to do it by parallel computing (number of cores = 4).
A list with multiple objects of class "kmeans".
# NOT RUN { t1_t2 <- paired_times(data = clr[,1:50], first = "_1", second = "_25", common = "_0_") klist_t1_t2 <- iterative_clustering(data = t1_t2, parallel = FALSE) # }
Run the code above in your browser using DataLab