An R implementation of Clustering by fast search and find of density peak, by Alex Rodriguez, Alessandro Laio.
This is an unfinished version. The path of label assignment is under construction. View demo
for more details.
Here's a demo on iris
.
source('R/densPeak.R')
data(iris)
result = densPeak(iris[,1:4], centers=3, dc=1,dc.range=c(0.01,0.02))
## dc is corrected to be 0.25 and the percentage is 0.01724 .