closest.data {RShinyAux}R Documentation

Returns the coordinates of the sample closest to the Target point

Description

Returns the coordinates of the sample closest to the Target point

Usage

closest.data(db, x, y)

Arguments

db

The db-class structure containing the information. This procedure returns the coordinates of the sample which is the closest to the Target location specified by the arguments 'x','y'.

x,y

Coordinates of the Target point.

Value

A list containing the two coordinates of the closest sample


[Package RShinyAux version 1.1.0 Index]