View source: R/Similarity_indices.R
Pearsons.Measure | R Documentation |
Computes the Pearson correlation between two numerical vectors and return the result of 1-abs(Person).
Pearsons.Measure(s1, s2)
s1 |
a numeric vector containing the first time series. |
s2 |
a numeric vector containing the second time series. |
a positive real number between 0 and 1. Where 0 is the maximum similarity and 1 the maximum dissimilarity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.