Manhattan distance
manhattan_distance(x, y)
x
numeric
y
numeric - manhattan distance between x and y
manhattan_distance(c(1, 1), c(1, 2))