# coordinates given by a suitable data frame
getDistToCtr(DFtalon)
# coordinates given by a matrix
## Not run:
# xy <- matrix(round(rnorm(20, 100, 15), 1), ncol=2)
# getDistToCtr(xy)
# ## End(Not run)
Run the code above in your browser using DataLab