feature_vector_to_total_path_distance {ggEDA}R Documentation

Compute the Total Path Distance for an Axis Order

Description

Given a sequence of axis names and a distance matrix, sums pairwise distances along the path.

Usage

feature_vector_to_total_path_distance(axis_names, mx)

Arguments

axis_names

A character vector indicating the axis order.

mx

A matrix of distances, with row and column names matching axis_names.

Value

A numeric value representing the total distance.


[Package ggEDA version 0.1.0 Index]