Learn R Programming

x12

The R package x12 is used in combination with the X-12 ARIMA/X13-ARIMA-SEATS Seasonal Adjustment Program.

By default (since version 1.7.0) the x13binary R package is used to provide the binaries.

But a local/alternative version could also be used which can be downloaded from https://www.census.gov/srd/www/x13as/ for Windows, Linux and as Source Code. After the installation the x13as.exe or the x13as executable should be on your system. The path to the executable is important it is set with the function x12path, e.g., x12path("d:/X12InstallationPath/x13as.exe") or x12path("/usr/bin/x13a").

X-13ARIMA-SEATS (http://www.census.gov/srd/www/x13as/) is the current version of the seasonal adjustment program of the US Census Bureau, it can also be used in connection with the R package x12, but at the moment the SEATS Spec is not included in the package at the moment, it is planned to include it in a future release.

On Mac OS X and Linux it is possible to compile x12a or x13as, the Makefile template 'makefile.lnx' has to be adapted and copied to Makefile afterwards 'make' should work to create the exexcutables.

Copy Link

Version

Install

install.packages('x12')

Monthly Downloads

963

Version

1.10.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

May 19th, 2022

Functions in x12 (1.10.3)

AirPassengersX12

x12Single object
loadP

loadP and saveP
diagnostics-class

Class "diagnostics"
crossValidation-class

Class "crossValidation"
crossVal

~~ Methods for Function crossVal in Package x12 ~~
getP-methods

getP and setP for retrieving and setting parameters
x12path

Function to interact with the environment x12env
plot-methods

~~ Methods for Function plot in Package x12 ~~
fbcast-class

Class "fbcast"
AirPassengersX12Batch

x12Batch object
plotSeasFac

~~ Methods for Function plotSeasFac in Package x12 ~~
plotRsdAcf

~~ Methods for Function plotRsdAcf in Package x12 ~~
readSpc

Function to read X12-spc Files in x12Parameter R objects
plot.x12work

Plot method for objects of class x12work
prev-methods

~~ Methods for Function prev and cleanArchive in Package x12 ~~
plotSpec

~~ Methods for Function plotSpec in Package x12 ~~
times

Read start and end of a x12Single or x12Output object
summary.x12work

Diagnostics summary for objects of class x12work
spectrum-class

Class "spectrum"
summary-methods

~~ Methods for Function summary in Package x12 ~~
x12Single-class

Class "x12Single"
x12work

Run x12 on an R TS-object
x12Output-class

Class "x12Output"
x12

~~ Methods for Function x12 in Package x12 ~~
x12Batch-class

Class "x12Batch"
x12List-class

Class "x12List"
x12Parameter-class

Class "x12Parameter"
x12BaseInfo-class

Class "x12BaseInfo"