dist2p {spatclus}R Documentation

Euclidian distance computation in 2D

Description

Computes the euclidian distance between two 2D point coordinates or between one point and a vector of points.

Usage

dist2p(x, y, x0, y0)

Arguments

x X-coordinate of the second point or the vector of point
y Y-coordinate of the second point or the vector of point
x0 X-coordinate of the first point
y0 Y-coordinate of the first point

Value

dist The distance computed

Author(s)

Christophe Dematte{"i} demattei@iurc.montp.inserm.fr


[Package spatclus version 1.0-3 Index]