plot_spec: Original and SA data AR spectrum

View source: R/plot_spec.R

plot_specR Documentation

Original and SA data AR spectrum

Description

AR spectrum of the (detrended) original and seasonally adjusted data. Computed using stats::spec.ar() with order set to 60.

Usage

plot_spec(x)

Arguments

x

boiwsa results

Value

AR spectrum plot

Examples


# Not run
# Seasonal adjustment of weekly US gasoline production
res=boiwsa(x=gasoline.data$y,dates=gasoline.data$date)
plot_spec(res)


boiwsa documentation built on April 4, 2025, 1:57 a.m.