View source: R/Pattern_recognition_distances.R
Cort | R Documentation |
Return the temporal correlations of two time series by first taking the lag one differences of each series and the computing the correlation coefficient.
Cort(S1, S2)
S1 |
A vector representing a univariate time series |
S2 |
A second vector representing a univariate time series |
A coefficient in the interval [-1,1]
representing the lag 1 correlation
Douzal-Chouakria, Ahlame, and Cecile Amblard. "Classification Trees for Time Series." Pattern Recognition 45, no. 3 (March 2012): 1076-91. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.patcog.2011.08.018")}
S1=rnorm(100)
S2=rnorm(100)
Cort(S1, S2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.