closestTr: Closest trace

View source: R/global.R

closestTrR Documentation

Closest trace

Description

Return the indice of the closest trace to the point y

Usage

closestTr(x, y)

Arguments

x

Object of the class GPR.

y

Length-two numeric vector of the (x, y)-coordinates.

Value

Indice (integer) of the closest trace.


emanuelhuber/RGPR documentation built on March 18, 2024, 8 p.m.