}
# As explained above, we obtain after all runs ntasks*[K1 or K2] medoids indices,
- # depending wether WER=="end" or "mix", respectively.
+ # depending whether WER=="end" or "mix", respectively.
indices_medoids_all <-
if (parll && ntasks>1)
unlist( parallel::parLapply(cl, indices_tasks, runTwoStepClustering) )