Skip to contents

Computes the Hausdorff distance between functional data objects. The Hausdorff distance treats each curve as a set of points (t, f(t)) in 2D space and computes the maximum of the minimum distances.

Usage

metric.hausdorff(fdataobj, fdataref = NULL, ...)

Arguments

fdataobj

An object of class 'fdata'.

fdataref

An object of class 'fdata'. If NULL, uses fdataobj.

...

Additional arguments (ignored).

Value

A distance matrix.

Examples

fd <- fdata(matrix(rnorm(100), 10, 10))
D <- metric.hausdorff(fd)