Affect randomly the individuals to the clusters.
Number of observations.
Number of clusters.
Affect randomly the individuals to the clusters providing no empty clusters.
A [vector] of length 'nObs' containing the affectation to the clusters.
Meant to be used internally.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.