Export and Import time series object to/from CSV
Usage
write.ts(x, file)
read.ts(file, frequency = NULL, list = FALSE)
Arguments
- x
a time series object
- file
a character string giving the name of the file to write to.
- frequency
an integer giving the number of observations per unit of time.
By default it is guessed from the data.
- list
boolean, if TRUE
, the function returns a list of time series objects.