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, ...)
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.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.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
hclustdd ; plot.hclustdd .
data(dspg) xl = dspg result <- hclustdd(xl) print(result) print(result, dist.print = TRUE)