I'm trying to determine the most likely set of dingo prey, from stable isotope data from dingoes and their prey, using Bayesian Mixing Models. I need to perform a k nearest-neighbor randomization test (sensu Rosing et al. 1998. Analysis of stable isotope data: A K nearest-neighbors randomization test. The Journal of Wildlife Management:380-388) on my prey data to determine if they're statistically different. Can someone please suggest an appropriate software/R Package?