S3 methods for ClusterTable
objects.
Examples
clustab <- as.ClusterTable(TreeTools::BalancedTree(6))
as.matrix(clustab)
#> [,1] [,2]
#> [1,] 0 0
#> [2,] 2 3
#> [3,] 1 3
#> [4,] 1 4
#> [5,] 1 5
#> [6,] 1 6
print(clustab)
#> ClusterTable on 6 leaves: t1 .. t6
summary(clustab)
#> ClusterTable on 6 leaves:
#> 123456
#> .**...
#> ***...
#> ****..
#> *****.
#> ******
#> 1: t6 2: t5 3: t4 4: t3 5: t2 6: t1