calcEuclideanDistance {geocmeans}R 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

[Package geocmeans version 0.3.4 Index]