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 June 17, 2022, 1:05 a.m.