[R] bulding your own tree

Albert Hupa albert.hupa at gmail.com
Thu Dec 31 14:32:05 CET 2009


Hello everyone,
I have a question about trees. I am writing my own clustering
algorithm in R and I would like to save results to a tree, so that I
could print it, just like hclust does.

Basically this is agglomerative method for networks/matrices  (I am
writing it all on matrices, so no network packages are included),
which
gives for every iteration a pair of elements which are subseqently
removed from a sample (matrix) and instead a new element summing up
those two is added.

My question is: how to agglomeratively insert such data into a tree
object, so that I could print it afterwards.

With regards and wishes of a happy new year!

Albert Hupa
Zakład Metod Badania Kultury
Instytut Stosowanych Nauk Społecznych UW
University of Warsaw
albert.hupa at gmail.com
tel. 696 435 672




More information about the R-help mailing list