# clusterGeneration v1.3.4

0

0th

Percentile

## 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.

## Functions in clusterGeneration

 Name Description rcorrmatrix GENERATE A RANDOM CORRELATION MATRIX BASED ON RANDOM PARTIAL CORRELATIONS genRandomClust RANDOM CLUSTER GENERATION WITH SPECIFIED DEGREE OF SEPARATION nearestNeighborSepVal SEPARATON INFORMATION MATRIX genPositiveDefMat GENERATE A POSITIVE DEFINITE MATRIX/COVARIANCE MATRIX viewClusters PLOT ALL CLUSTERS IN A 2-D PROJECTION SPACE plot1DProjection PLOT A PAIR OF CLUSTERS AND THEIR DENSITY ESTIMATES, WHICH ARE PROJECTED ALONG A SPECIFIED 1-D PROJECTION DIRECTION simClustDesign DESIGN FOR RANDOM CLUSTER GENERATION WITH SPECIFIED DEGREE OF SEPARATION getSepProj OPTIMAL PROJECTION DIRECTION AND CORRESPONDING SEPARATION INDEX FOR PAIRS OF CLUSTERS sepIndex MEASURE THE MAGNITUDE OF THE GAP OR SPARSE AREA BETWEEN A PAIR OF CLUSTERS ALONG THE SPECIFIED PROJECTION DIRECTION plot2DProjection PLOT A PAIR OF CLUSTERS ALONG A 2-D PROJECTION SPACE No Results!