FindCentersAutoD: Automatically finds centers with diagonal f(x) vs delta(x) thresholds
Description
Automatically finds centers with diagonal f(x) vs delta(x) thresholds. This is used in adpclust() with ac = 2. It finds points that are above and farthest from the diagonal line in the f vs. delta plots, and label them to be centers.
Usage
FindCentersAutoD(f, delta, nclust)
Arguments
f
vector of local distance.
delta
vector of minimal distances to higher ground.
nclust
number of clusters. Can be a single integer or a vector of integers. Duplicates are silently removed.
Value
a list of vectors. Each vector gives the locations of centers.