calcEuclideanDistance: Calculate the Euclidean distance

View source: R/assembling.R

calcEuclideanDistanceR Documentation

Calculate the Euclidean distance

Description

Calculate the euclidean distance between a numeric matrix n * p and a numeric vector of length p

Usage

calcEuclideanDistance(m, v)

Arguments

m

A n * p matrix or dataframe with only numeric columns

v

A numeric vector of length p

Value

A vector of length n giving the euclidean distance between all matrix row and the vector p

Examples

#This is an internal function, no example provided

geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.