manhattan_dist: manhattan_dist

View source: R/manhattan_dist.R

manhattan_distR 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));


OutliersLearn documentation built on June 22, 2024, 10:23 a.m.