Knumber of nearest neighbors can be used to get final clustering.
sizevector of the number of data points for clusters.
memvector of the cluster membership of data points.
The cluster membership takes values: \(1\), \(2\), \(\ldots\),
\(g\), where \(g\) is the estimated number of clusters.
gan estimate of the number of clusters.
CHCH index value for the final partition if strengthMethod
is
“CH”.
avg.saverage of the Silhoutte index value for the final partition if strengthMethod
is “sil”.
svector of Silhoutte indices for data points if strengthMethod
is “sil”.
K.vecnumber of nearest neighbors used for each iteration.
g.vecnumber of clusters obtained in each iteration.
myupdatelogical. Indicates if the partition obtained in the first pass is the same as that obtained in the second pass.
y.old1data used for shrinking and clustering.
y.old2data returned after shrinking and clustering.
ya copy of the data from the input.
strengthMethoda copy of the strengthMethod from the input.
disMethoda copy of the dissimilarity measure from the input