euclidean_distance: Compute Euclidean distance

Description Usage Arguments Value

View source: R/helpers.R

Description

This function computes the euclidean distance between two vectors of coordinates.

Usage

1
euclidean_distance(x_positions, y_positions)

Arguments

x_positions

A vector of positions along the x-axis.

y_positions

A vector of positions along the y-axis.

Value

A vector of euclidean distances.


simonecollier/lizardHMM documentation built on Dec. 23, 2021, 2:24 a.m.