FindClustersManual {ADPclust} | R Documentation |
Plot the f vs. delta plot, then wait for the user to select centers of clusters by left clicking the points. In general points with both large f and large delta are good candidates of cluster centroids. Selected centers are highlighted. Press ESC to end the selection.
FindClustersManual(distm, f, delta)
distm |
distance matrix. |
f |
vector of local densities f(x). Same length of the number of observations. |
delta |
vector of distances to the closest high ground delta(x). Same length of the number of observations. |
a list of the following items:
clusters Cluster assignments. A vector of the same length as the number of observations.
centers: Indices of the clustering centers.
silhouette: Silhouette score from the final clustering result.
nclust: Number of clusters.
data(clust3)
distm <- FindDistm(clust3, normalize = TRUE)
## Not run:
fd <- FindFD(distm, 2, "mnorm")
ans <- FindClustersManual(distm, fd$f, fd$delta)
names(ans)
ans$centers
## End(Not run)