print.hclustdd: Printing results of a hierarchical clustering of discrete...

View source: R/print.hclustdd.R

print.hclustddR Documentation

Printing results of a hierarchical clustering of discrete distributions

Description

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

Usage

## 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)

dad documentation built on Aug. 30, 2023, 5:06 p.m.