This is an experimental function to calculate disances between time series.
calcDistances(X, method="C", nodes=20)
Matrix with time series values.
Method of choice to calculate the distance.
Number of splines for the spline-based approach.
This is an early attempt to implement a distance measure for time series clustering. It has not yet been tested and hence should be used carefully.
Currently there are two different methods available, the default is
method="C". The alternative is
what is a spline based approach.
X contains the individuals in the rows and the columns represent the time points.
As this is developing code, we do not give further information, yet, but include the function in the package for testing purposes.
A matrix with pairwise distances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.