combineDists: p-norm combination of distance matrices

Description Usage Arguments Value Note

Description

p-norm combination of distance matrices

Usage

1
combineDists(dist1, dist2, a, p = 2, ...)

Arguments

dist1

A distance matrix

dist2

A second distance matrix

a

Weighting parameter (number between 0 and 1 giving the weighting towards dist1)

p

Metric exponent (p = 2 for Euclidean)

...

Passed to as.longDist

Value

combined distance matrix

Note

dist1 and dist2 are coererced to longDist objects with norm = TRUE.


stevencarlislewalker/subscript documentation built on May 30, 2019, 4:45 p.m.