GenerateRandomClustering: Generate random clustering
Description
Internal function for CICA package
Usage
GenerateRandomClustering(nElement, nClust, Prob = NULL)
Value
a numeric vector indicating the clustering
Arguments
- nElement
a positive integer number of elements to be clusterd
- nClust
a positive integer: Number of clusters
- Prob
numeric vector: Portion of elements in each cluster