distAB {cubt}R Documentation

Computes distance between nodes as defined in the original reference.

Description

Computes distance between nodes as defined in the original reference.

Usage

distAB(A, lft, rgt, alpha = 0.1, met = "euclidean", p0 = 2, typ = 7, prec = 1e-10) 

Arguments

A

Data matrix

lft

Observations going left.

rgt

Observations going right.

alpha

Upper trim level for computing the mean distances. See definition of the distance in the original paper.

met

Method for computing distances, sent to dist function.

p0

Parameter p for dist function.

typ

quantile type algorithm, see quantile function.

prec

Precision for distance between minimum and quantiles

Author(s)

Badih Ghattas


[Package cubt version 3.2 Index]