Find the minimum difference between a vector and a set of choices.
mindiff.RdFind the minimum difference between a vector and a set of choices.
Usage
mindiff(x, choices, tie = c("first", "last", "median-first", "median-last"))mindiff.RdFind the minimum difference between a vector and a set of choices.
mindiff(x, choices, tie = c("first", "last", "median-first", "median-last"))