coordinates_to_matrix {topolow}R Documentation

Convert coordinates to distance matrix

Description

Calculates pairwise Euclidean distances between points in coordinate space

Usage

coordinates_to_matrix(positions)

Arguments

positions

Matrix of coordinates where rows are points and columns are dimensions; It can be a matrix or a data frame.

Value

A symmetric matrix of pairwise Euclidean distances between points.


[Package topolow version 1.0.0 Index]