search for: xmd1

Displaying 1 result from an estimated 1 matches for "xmd1".

Did you mean: md1
2024 Oct 26
2
Help in Recursive Function for steps reconstruction in Clusters Analysis - HCA: Single Link
...problem: I created a recursive function, "f()", to find the shortest distances. It is defined below. But the return has only one column, while I thought there would be two columns. What I get: ############### # Testing f() f( c(2, 3) )?? #### is the fourth step of hclust ???? [,1] xmd1?? -6 xmd2? -10 xmd1?? -3 xmd1?? -4 xmd2?? -5 What I expected: ################## # xmd1?? xmd2 # -6???? -10 # -3????? -5 # -4????? -5 If anyone can help me with this recursive function, I would appreciate it in advance. I've never used recursion before, so I don't have a good grasp of...