euclidean_dist: Get the euclidean distance between two points (x1, y1) and...

Description Usage Arguments Value

View source: R/places.R

Description

Get the euclidean distance between two points (x1, y1) and (x2, y2)

Usage

1
euclidean_dist(x1, y1, x2, y2)

Arguments

x1

longitude of object 1 (vector)

y1

latitude of object 1 (vector)

x2

longitude of object 2 (vector)

y2

latitude of object 2 (vector)

Value

numeric


leerichardson/spew documentation built on May 21, 2019, 1:39 a.m.