| StMatrixCalc | R Documentation |
Generates and returns an n x n matrix by calculating the absolute difference for each possible pair of points in a vector of the time orders of each point in a series, then converts dissimilarity matrix to a similarity matrix using 1 / (D_t + 1).
StMatrixCalc(v)
v |
numeric vector with the time order corresponding to each point in the response series. |
numeric matrix of temporal similarities for the vector v.
TempAbsDissimilarity() for the function used to calculate
absolute differences.
StMatrixCalc(c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.