affect_rand: Affect randomly the individuals to the clusters
Description
Affect randomly the individuals to the clusters.
Usage
affect_rand(nObs, nClust)
Arguments
nObs
Number of observations.
nClust
Number of clusters.
Value
A [vector] of length 'nObs' containing the affectation to
the clusters.
Details
Affect randomly the individuals to the clusters providing
no empty clusters.