Learn R Programming

seasonal (version 0.60.0)

out: Import X-13ARIMA-SEATS Text Output

Description

The out function shows the full content of the .out, the .log or the .err file form X-13ARIMA-SEATS.

Usage

out(x, line = 1, n = 100, search = NULL, file = c("out", "log", "err"))

Arguments

x
an object of class "seas".
line
starting line of the content.
n
number of lines to show on a page.
search
regular expression chracter string. If specified, the content is searched for the first occurence (see examples).
file
"out", "log" or "err", which text file to show.

Value

  • an object of class "out", essentially a character vector with attributes. The print method for "out" objects is adapted to the large size of the .out output. It allows for pagination and search (see examples).

Details

To keep the size of "seas" objects small, seas does not save the content of the .out by default. Instead, the out function re-evaluates the model.

References

Vignette with a more detailed description: http://cran.r-project.org/web/packages/seasonal/vignettes/seas.pdf

Wiki page with a comprehensive list of R examples from the X-13ARIMA-SEATS manual: https://github.com/christophsax/seasonal/wiki/Examples-of-X-13ARIMA-SEATS-in-R

Official X-13ARIMA-SEATS manual: http://www.census.gov/ts/x13as/docX13AS.pdf

See Also

seas for the main function of seasonal.

Examples

Run this code
m <- seas(AirPassengers)

# exit from the viewer with [q]
out(m)
out(m, search = "regARIMA model residuals")
out(m, search = "Normality Statistics for regARIMA")

# on some platforms, this may be more useful
edit(out(m))

m <- seas(AirPassengers, slidingspans = list())
out(m, search = "Sliding spans analysis", n = 300)

# showing the log file
out(m, file = "log")

# showing the error file
out(m, file = "err")

Run the code above in your browser using DataLab