Learn R Programming

dad (version 4.1.6)

print.fhclustd: Printing results of a hierarchical clustering of probability density functions

Description

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

Usage

# S3 method for fhclustd
print(x, dist.print=FALSE, digits=2, ...)

Arguments

x

object of class "fhclustd", returned by fhclustd.

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.

Author

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

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.

See Also

fhclustd; print.

Examples

Run this code
data(castles.dated)
xf <- as.folder(castles.dated$stones)
if (FALSE) {
result <- fhclustd(xf)
print(result)
print(result, dist.print = TRUE)
}

Run the code above in your browser using DataLab