[R-sig-Geo] complete linkage Agglomerative hierarchical clustering, nnclust, spatclus or something else?

Hans Ekbrand hans at sociologi.cjb.net
Wed Apr 21 15:24:30 CEST 2010


On Wed, Apr 21, 2010 at 03:14:46PM +0200, Roger Bivand wrote:
> On Wed, 21 Apr 2010, Hans Ekbrand wrote:

[...]

>> Well, hclust was useful, once I understood how cutree works. What
>> would be the benefit of dnearneigh(), is it faster?
>>
>
> For larger data sets, hclust needs a triangular distance matrix,  
> dnearneigh does not. Finding graph components in the output "nb" object  
> also seems conceptually more direct. 

OK, good to know if I run into trouble when using the code on larger
data-sets later on.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20100421/2f074037/attachment.bin>


More information about the R-sig-Geo mailing list