clust4 | R Documentation |
A dataset containing two variables of 300 objects and their class memberships generated by the clusterGeneration package.
clust4
A data frame with 300 rows and 3 variables:
X1.
X2.
Class membership.
Data is generated via the genRandomClust
function in the
clusterGeneration package. The code to generate this data
set is
set.seed(2016)
randclust <- clusterGeneration::genRandomClust(4, sepVal = 0.001, numNonNoisy = 2, numReplicate = 1, clustszind = 3, clustSizes = as.numeric(table(sample(1:4, 300, replace = TRUE))), outputDatFlag=FALSE, outputLogFlag=FALSE, outputEmpirical=FALSE, outputInfo=FALSE)
clust4 <- as.data.frame(randclust$datList$test_1)
clust4$class <- randclust$memList$test_1
Qiu, W., and H. Joe. 2015. ClusterGeneration: Random Cluster Generation (with Specified Degree of Separation).
Qiu, W., and H. Joe. 2006a. Generation of Random Clusters with Specified Degree of Separation. Journal of Classification 23 pp. 315-34.
Qiu, W., and H. Joe. 2006b. Separation Index and Partial Membership for Clustering. Computational Statistics and Data Analysis 50 pp. 585-603.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.