Learn R Programming

kohonen (version 3.0.8)

summary.kohonen: Summary and print methods for kohonen objects

Description

Summary and print methods for kohonen objects. The print method shows the dimensions and the topology of the map; if information on the training data is included, the summary method additionally prints information on the size of the data, the distance functions used, and the mean distance of an object to its closest codebookvector, which is an indication of the quality of the mapping.

Usage

# S3 method for kohonen
summary(object, …)
# S3 method for kohonen
print(x, …)

Arguments

x, object

a kohonen object

Not used.

See Also

som, xyf, supersom

Examples

Run this code
# NOT RUN {
data(wines)
xyf.wines <- xyf(scale(wines), classvec2classmat(vintages),
                 grid = somgrid(5, 5, "hexagonal"))
xyf.wines
summary(xyf.wines)
# }

Run the code above in your browser using DataLab