acf.ctre: Autocorrelation function

Description Usage Arguments Examples

View source: R/diagnostics.R

Description

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

Usage

1
2
## S3 method for class '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

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

CTRE documentation built on May 2, 2019, 9:34 a.m.