dis_frechet {mlmts} | R Documentation |
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, ...)
Arguments
X |
A list of MTS (numerical matrices). |
... |
Additional parameters for the function. See |
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)
Value
The computed pairwise distance matrix.
Author(s)
Ángel López-Oriona, José A. Vilar
See Also
Examples
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
[Package mlmts version 1.1.1 Index]