trueGroups: 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)
Value
A matrix with the unique groups/clusters from the multi-view data generated from clustStruct. The final column Grps enumerates these groups.
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