Random Cluster Generation (with Specified Degree of Separation)

We developed the clusterGeneration package to provide functions for generating random clusters, generating random covariance/correlation matrices, calculating a separation index (data and population version) for pairs of clusters or cluster distributions, and 1-D and 2-D projection plots to visualize clusters. The package also contains a function to generate random clusters based on factorial designs with factors such as degree of separation, number of clusters, number of variables, number of noisy variables.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("clusterGeneration")

1.3.8 by Weiliang Qiu, 3 years ago


Browse source code at https://github.com/cran/clusterGeneration


Authors: Weiliang Qiu <[email protected]> , Harry Joe <[email protected]>.


Documentation:   PDF Manual  


GPL (>= 2) license


Depends on MASS


Imported by DoubleML, FracKrigingR, GCEstim, IVPP, MVNGmod, MVSKmod, MultiNMix, VisCov, corTest, manydist, mlVAR, phytools, rEMM, skewMLRM, stats4teaching, stream, xtdml, xtifedml.

Suggested by EMJMCMC, GeometricMorphometricsMix, decorrelate, mmrm, mvnimpute, remaCor.


See at CRAN