powered by
getDistToCtr(xy)
xy <- matrix(round(rnorm(20, 100, 15), 1), ncol=2) getDistToCtr(xy)
Run the code above in your browser using DataLab