From: JuanPi <aj...@gm...> - 2012-09-18 22:33:40
|
On Tue, Sep 18, 2012 at 11:38 PM, JuanPi <aj...@gm...> wrote: > Hi all, > > I committed the function dendogram to the statistics package. I > couldn't manage to order the leafs of the linkage to avoid crossing of > the edges in the plot. > > If anybody knows how to do it, please go ahead or send me some info so > I can do it. > > Cheers > > > -- > JuanPi Carbajal > ----- > "The bad economist pursues a small present good, which will be > followed by a great evil to come, while the true economist pursues a > great good to come, at the risk of a small present evil." - Frédéric > Bastiat > ----- > http://ailab.ifi.uzh.ch/carbajal/ Hi all, I manged to fix the order of the leafs (I think, please check). I am using DFS to order the leafs, there might be better ways of doing it. http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/statistics/inst/dendogram.m?revision=11050&view=markup Cheers -- JuanPi Carbajal ----- "The bad economist pursues a small present good, which will be followed by a great evil to come, while the true economist pursues a great good to come, at the risk of a small present evil." - Frédéric Bastiat ----- http://ailab.ifi.uzh.ch/carbajal/ |