data(USgas)
arima_diag(ts.obj = USgas)
# Can define more than one differencing plot using the 'method' argument
arima_diag(ts.obj = USgas,
cor = TRUE,
method = list(first = list(diff = 1,
log = TRUE,
title = "First Diff with Log Transformation"),
Second = list(diff = c(1,1),
log = TRUE,
title = "Second Diff with Log Transformation")))
Run the code above in your browser using DataLab