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.h...@gmail.com tel. 696 435 672 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.