Skip to contents

Generic function for calculating distance matrices

Usage

dists(x, ...)

Arguments

x

An R object.

...

Additional parameters or attributes.

Value

A list of signed distance matrices: h (Euclidean), h1

(horizontal), and h2 (vertical) with the same dimensions.