trueGroups {MMOC}R Documentation

Get the groups created by the clustStruct function

Description

Get the unique groups generated by the clustStruct function for a given k. The number of rows of the resulting matrix gives the number of unique groups.

Usage

trueGroups(n, k)

Arguments

n

An integer, the sample size for all generated data sets

k

An integer or vector, the number of distinct clusters in each generated data set. n/k must be an integer for all values of k

Value

A matrix with the unique groups/clusters from the multi-view data generated from clustStruct. The final column Grps enumerates these groups.

Examples


trueGroups(n=120, k=c(2,3,4))


[Package MMOC version 0.1.1.0 Index]