manhattan_dist {OutliersLearn} | R Documentation |
manhattan_dist
Description
Calculates the manhattan distance between two 2D points
Usage
manhattan_dist(A, B)
Arguments
A |
One of the 2D points |
B |
The other 2D point |
Value
Manhattan distance calculated between point A and B
Author(s)
Andres Missiego Manjon
Examples
distance = manhattan_dist(c(1,2), c(3,4));
[Package OutliersLearn version 1.0.0 Index]