R/NNid.R

# changed in ecespa 1.1.10. to remove dependency of splancs
# using nnwhich() instead of nndistG()$neighs
# It was
# `NNid` <-function (xy, splancs = TRUE)

`NNid` <-
function (xy) 
{
    nnwhich(xy)
    # removred in ecespa 1.1.10 from here
 #   if (splancs) {
 #       nndistG(xy)$neighs
 #   }
 #    to here

}

Try the ecespa package in your browser

Any scripts or data that you put into this service are public.

ecespa documentation built on Jan. 6, 2023, 1:21 a.m.