## S3 method for class 'lpp':
nnwhich(X, ..., method="C")
"lpp"
)."interpreted"
or "C"
.X
, identifying the nearest neighbour of each point.
If nnwhich(X)[2] = 4
then the nearest neighbour of
point 2 is point 4.method="C"
the task is performed using
code in the C language. If method="interpreted"
then the
computation is performed using interpreted Rcode. The Rcode is
much slower, but is provided for checking purposes.lpp