R/nearestdist.R

Defines functions nearestdist

Documented in nearestdist

nearestdist <-
function(posx, posy)
{
    nearestdist <- sapply(posx, FUN = pdist, posy = posy)
    return(nearestdist)
}

Try the IndTestPP package in your browser

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

IndTestPP documentation built on Aug. 29, 2020, 1:06 a.m.