print.hclustdd function

Printing results of a hierarchical clustering of discrete distributions

Printing results of a hierarchical clustering of discrete distributions

print function, applied to an object of class "hclustdd", prints numerical results of hclustdd .

## S3 method for class 'hclustdd' print(x, dist.print=FALSE, digits=2, ...)

Arguments

  • x: object of class "hclustdd", returned by hclustdd.
  • dist.print: logical. If TRUE (default: FALSE), prints the matrix of distances between the groups (densities).
  • digits: numerical. Number of significant digits for the display of numerical results.
  • ...: optional arguments to print methods.

Details

If dist.print = TRUE, the distances between groups are displayed.

By default, the result of the clustering is printed. The display is the same as that of the print.hclust function.

Author(s)

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard

See Also

hclustdd ; plot.hclustdd .

Examples

data(dspg) xl = dspg result <- hclustdd(xl) print(result) print(result, dist.print = TRUE)
  • Maintainer: Pierre Santagostini
  • License: GPL (>= 2)
  • Last published: 2024-11-22