Learn R Programming

⚠️There's a newer version (1.3.8) of this package.Take me there.

clusterGeneration (version 1.3.4)

Random Cluster Generation (with Specified Degree of Separation)

Description

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.

Copy Link

Version

Install

install.packages('clusterGeneration')

Monthly Downloads

11,081

Version

1.3.4

License

GPL (>= 2)

Maintainer

Weiliang Qiu

Last Published

February 18th, 2015

Functions in clusterGeneration (1.3.4)

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