Functions to extract the main time series from a
"seas" object. For
universal import of X-13ARIMA-SEATS tables, use the
1 2 3 4 5 6 7 8 9 10
an object of class
not used. For compatibility with the generic.
These functions support R default NA handling. If
na.action = na.exclude is specified in the call to
seas, the time series will
also contain NAs.
"ts" object, depending on the function.
Vignette with a more detailed description: http://www.seasonal.website/seasonal.html
Comprehensive list of R examples from the X-13ARIMA-SEATS manual: http://www.seasonal.website/examples.html
Official X-13ARIMA-SEATS manual: https://www2.census.gov/software/x-13arima-seats/x13as/windows/documentation/docx13as.pdf
seas() for the main function of seasonal.
series(), for universal X-13 output extraction.
1 2 3 4 5 6 7 8 9 10 11 12 13
m <- seas(AirPassengers) final(m) original(m) irregular(m) trend(m) # NA handling AirPassengersNA <- window(AirPassengers, end = 1962, extend = TRUE) final(seas(AirPassengersNA, na.action = na.omit)) # no NA in final series final(seas(AirPassengersNA, na.action = na.exclude)) # NA in final series final(seas(AirPassengersNA, na.action = na.x13)) # NA filled by x13 # final(seas(AirPassengersNA, na.action = na.fail)) # fails
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.