manhattan_dist_deriv_pos: Partial derivatives for Manhattan distance

View source: R/mdessence-functions.R

manhattan_dist_deriv_posR Documentation

Partial derivatives for Manhattan distance

Description

Partial derivatives for Manhattan distance

Usage

manhattan_dist_deriv_pos(x, y)

Arguments

x

A p-vector.

y

A p-vector.

Value

If x and y each have length p, the function returns a p-vector with jth element equal to \frac{\partial}{\partial y_{j}} d(x,y).


jfukuyama/localBiplots documentation built on Jan. 10, 2023, 3:33 a.m.