dis_frechet | R Documentation |
dis_frechet
returns a pairwise distance matrix based on the Frechet distance
between MTS
dis_frechet(X, ...)
X |
A list of MTS (numerical matrices). |
... |
Additional parameters for the function. See |
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)
The computed pairwise distance matrix.
Ángel López-Oriona, José A. Vilar
diss.FRECHET
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.