Learn R Programming

mlmts (version 1.1.2)

dis_frechet: Constructs a pairwise distance matrix based on the Frechet distance

Description

dis_frechet returns a pairwise distance matrix based on the Frechet distance between MTS

Usage

dis_frechet(X, ...)

Value

The computed pairwise distance matrix.

Arguments

X

A list of MTS (numerical matrices).

...

Additional parameters for the function. See diss.FRECHET.

Author

Ángel López-Oriona, José A. Vilar

Details

Given a collection of MTS, the function returns the pairwise distance matrix, where the distance between two MTS is defined as the sum of the standard Frechet distances between each corresponding pair of dimensions (univariate time series)

See Also

diss.FRECHET

Examples

Run this code
toy_dataset <- Libras$data[1 : 5] # Selecting the first 5 MTS from the
# dataset Libras
distance_matrix <- dis_frechet(toy_dataset) # Computing the pairwise
# distance matrix based on the distance dis_frechet

Run the code above in your browser using DataLab