R/nearestD.R

Defines functions nearestD

Documented in nearestD

nearestD <-
function(punti,posD)
{
	nearestDi<-min(abs(posD-punti))
	return(nearestDi)
}

Try the IndTestPP package in your browser

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

IndTestPP documentation built on May 29, 2017, 5:19 p.m.