manhattan_distance | R Documentation |
Manhattan distance
manhattan_distance(x, y)
x |
|
y |
|
numeric - manhattan distance between x and y
manhattan_distance(c(1, 1), c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.