Displaying 1 result from an estimated 1 matches for "nncluster".
Did you mean:
ncluster
2012 Jul 30
1
cluster of points
...What I want to do is quite simple, but I can't find a way.
I have a data frame with several points (x and y coords). I want to add
another column with cluster membership. For example aggregate all the points
that stand within a distance of 40 from each other.
I've tried using "nncluster" from the package nnclust, but the results are
not correct, for some reason (probably my mistake).
This is what I did:
x <- nncluster(as.matrix(dframe[,1:2]), threshold=35, fill = 1, maxclust =
NULL, give.up = 500,verbose=FALSE,start=NULL)#avaliar as clusters
Thanks,
Freder...