MinDist: MinDist

View source: R/XPSUtilities.r

MinDistR Documentation

MinDist

Description

MinDist finds which is the minimum distance between point P0 and points P1, P2

Usage

MinDist(posP0, posP1, posP2)

Arguments

posP0

numeric position of probe point

posP1

numeric position of reference point 1

posP2

numeric position of reference point 2

Value

Returns index 1 or 2 indicating min distance from P1 or P2

Examples

## Not run: 
MinDist(posP0, posP1, posP2)

## End(Not run)

GSperanza/RxpsG_2.3-1 documentation built on Feb. 11, 2024, 5:09 p.m.