tssim_event_sync | R Documentation |
This function is an adapted version of the coocmetric function from the package mmpp. The differences are the introduction of a tau_max limitation factor and the optional normalization.
tssim_event_sync( tts1, tts2, tau_max = 1, normalization = c("both", "min", "none") )
tts1 |
Time indices marking events in time series 1 |
tts2 |
Time indices marking events in time series 2 |
tau_max |
Max tau to be considered |
normalization |
Forms of normalization after the co-occurrence count. Possible values "both" (default), "min", and "none". The Default is "both", the original normalization defined by Quiroga et al: sqrt(N1*N2). This normalization might be problematic when both time series have very different number of events. Another possibility is to normalize the count by the "min" length between both series. The interpretation now takes into account only the series with less events. For example, considering two series, one with many events and another with just a single event, the results can be 1 (total sync). The option "none" means no normalization and the method returns the total count of synchronized events. |
Quiroga, R. Q., Kreuz, T., & Grassberger, P. (2002). Event synchronization: a simple and fast method to measure synchronicity and time delay patterns. Physical review E, 66(4), 041904.
Boers, N., Goswami, B., Rheinwalt, A., Bookhagen, B., Hoskins, B., & Kurths, J. (2019). Complex networks reveal global pattern of extreme-rainfall teleconnections. Nature, 566(7744), 373-377.
Synchronization-based similarity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.