Displaying 2 results from an estimated 2 matches for "cl1a".
Did you mean:
cl1
2003 Dec 11
1
cutree with agnes
...question because I can solve
my personal statistical problem by working with hclust instead of agnes.
I have done a complete linkage clustering on a dist object dm with 30
objects with agnes (R 1.8.0 on
RedHat) and I want to obtain the partition that results from a cut at
height=0.4.
I run
> cl1a <- agnes(dm, method="complete")
> cutree(cl1a,h=0.4)
[1] 1 2 3 4 5 6 3 7 3 8 9 10 3 11 12 13 14 15 3 16 17 3 18
19 20
[26] 21 3 22 18 23
But that's not true; correct is the solution obtained from hclust
> clx <- hclust(dm)
> cutree(cl1,h=0.4)
[1] 1 2...
2003 Dec 11
1
cutree with agnes
...question because I can solve
my personal statistical problem by working with hclust instead of agnes.
I have done a complete linkage clustering on a dist object dm with 30
objects with agnes (R 1.8.0 on
RedHat) and I want to obtain the partition that results from a cut at
height=0.4.
I run
> cl1a <- agnes(dm, method="complete")
> cutree(cl1a,h=0.4)
[1] 1 2 3 4 5 6 3 7 3 8 9 10 3 11 12 13 14 15 3 16 17 3 18
19 20
[26] 21 3 22 18 23
But that's not true; correct is the solution obtained from hclust
> clx <- hclust(dm)
> cutree(cl1,h=0.4)
[1] 1 2...