# NOT RUN {
data(USgas)
ts_cor(ts.obj = USgas)
# Setting the maximum number of lags to 72
ts_cor(ts.obj = USgas, lag.max = 72)
# Plotting only ACF
ts_cor(ts.obj = USgas, lag.max = 72, type = "acf")
# }
Run the code above in your browser using DataLab