R/which.min.diff.R

"which.min.diff" <-
function(a, vect) {
	return(which.min(abs(a - vect)))
}

Try the DDHFm package in your browser

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

DDHFm documentation built on Nov. 26, 2022, 1:06 a.m.