db.getsample {RGeostats} | R Documentation |
Rank(s) of closest sample(s)
db.getsample(db, x, y, pos.x = 1, pos.y = 2, ref = NA, verbose = FALSE)
db |
The |
x |
Vector of coordinates along X |
y |
Vector of coordinates along Y |
pos.x |
Gives the rank of the coordinate used on the abscissae axis. |
pos.y |
Gives the rank of the coordinate used on the ordinate axis. |
ref |
Vector (of space dimension) which gives the indices of the reference corner point. The extracted plane contains the reference corner point. |
verbose |
When TRUE, the coordinates of the closest sample(s) are displayed |
A vector containing the ranks (starting from 1) of the closest sample to the input coordinates.