MapR: Distance between spatial points

View source: R/Map.R

MapRR Documentation

Distance between spatial points

Description

Calculate N dimensional 'distance' from given coordinates.

Usage

MapR(a, b)

Arguments

a

coordinate of the first point

b

coordinate of the second point

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.
MapR(c(1,2),c(3,5))
## The function is currently defined as
function (a, b)
sqrt(sum((a - b)^2))

HaoLi111/MFVN documentation built on Jan. 5, 2023, 4:37 a.m.