View source: R/Distance_matrix_knn_algorithm.R
distance_matrix_wasserstein | R Documentation |
Pairwise distance matrix of a multivariate time series based on the Wasserstein distance between the empirical distribution of the series
distance_matrix_wasserstein(unit)
unit |
A matrix representing a multivariate time series where each column is a univariate time series. |
a matrix with pairwise distances
For more details, check the transport
package documentation on CRAN
X=matrix( rnorm(2000), ncol=10 )
distance_matrix_wasserstein(unit=X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.