This script calculates the Euclidean distance between multiple points utilising the distances function of the aspace package. There are three options within the script:
Option 1: Distances for one single point to a list of points
Option 2: All the distances between the points in a single list
Option 3: The distance between each point in list one and all the points in list two
The script is written to run with demo data from the aspace package, but incudes commented lines which can be utilised to easily import the users own data.