Assign distances to a meaningful category
distance.bin(distance)
distance
Vector of distances that should be mapped to a distance bin
vector of same length as distance containing assigned distance bins