Calculates and plots the autocorrelation function for the bivariate time series of interarrival times and magnitudes.

# S3 method for ctre
acf(x, OCTRE = FALSE, ...)

Arguments

x

An object of class ctre

OCTRE

If FALSE (default), each magnitude is matched with its preceding interarrival time. If TRUE, each magnitude is matched with its succeeding interarrival time.

...

Additional arguments passed to acf

Examples

library(magrittr) flares %>% ctre() %>% thin(k=150) %>% acf()