optimise_axis_ordering_from_matrix {ggEDA} | R Documentation |
Optimise the Ordering of Axes Using Distance Matrix
Description
Finds an ordering of axes that minimises a pairwise distance metric (usually the number of crossings). Offers brute-force and heuristic approaches.
Usage
optimise_axis_ordering_from_matrix(
mx,
method = c("auto", "brute_force", "repetitive_nn_with_2opt"),
return_detailed = FALSE,
verbose = TRUE
)
Arguments
mx |
A matrix or |
method |
A character string specifying the method. Can be |
return_detailed |
Logical; if |
verbose |
Logical; if |
Value
If return_detailed = FALSE
, returns a character vector of axis
names in the chosen order. Otherwise, returns a list with additional data.
[Package ggEDA version 0.1.0 Index]