Learn R Programming

umap (version 0.2.2.0)

mdManhattan: compute Manhattan distances

Description

compute Manhattan distances

Usage

mdManhattan(m, origin, targets)

Arguments

m

matrix with raw data

origin

index (1-based) of origin element

targets

indexes (1-based) of target elements

Value

dManhattan norms between origin and targets