Learn R Programming

topolow (version 2.0.1)

summary.topolow: Summary method for topolow objects

Description

Provides a more detailed summary of the optimization results from euclidean_embedding, including parameters, convergence, and performance metrics.

Usage

# S3 method for topolow
summary(object, ...)

Value

No return value. This function is called for its side effect of printing a detailed summary to the console.

Arguments

object

A topolow object returned by euclidean_embedding().

...

Additional arguments passed to summary (not used).

Examples

Run this code
# Create a simple dissimilarity matrix and run the optimization
dist_mat <- matrix(c(0, 2, 3, 2, 0, 4, 3, 4, 0), nrow=3)
result <- euclidean_embedding(dist_mat, ndim=2, mapping_max_iter=50,
                           k0=1.0, cooling_rate=0.001, c_repulsion=0.1,
                           verbose = FALSE)
# Summarize the result object
summary(result)

Run the code above in your browser using DataLab