manhattan_distance {hmsr}R Documentation

Manhattan distance

Description

Manhattan distance

Usage

manhattan_distance(x, y)

Arguments

x
  • numeric

y
  • numeric

Value

numeric - manhattan distance between x and y

Examples

manhattan_distance(c(1, 1), c(1, 2))

[Package hmsr version 1.0.1 Index]