Last chance! 50% off unlimited learning
Sale ends in
import.ts
is constructed and included in the output of
import.spc
.import.ts(file, format = "datevalue", start = NULL, frequency = NULL,
name = NULL)
"datevalue"
, "datevaluecomma"
, "free"
,
"freecomma"
, "x13save"
, "tramo"
or an X-11 or Fortran format."free"
and "freecomma"
and the Fortran formats.)"free"
, "freecomma"
and the X-11 or Fortran formats.)ts
or mts
import.spc
, for importing X-13 .spc
files.seas
for the main function of seasonal.
tdir <- tempdir()
seas(x = AirPassengers, dir = tdir)
import.ts(file.path(tdir, "data.dta"))
import.ts(file.path(tdir, "iofile.rsd"), format = "x13save")
Run the code above in your browser using DataLab