Description Usage Arguments Details Value See Also Examples
Read and write time series to files.
1 2 3 4 |
file |
name of file to read or write. |
x |
A time series or time series matrix. |
skip |
number of lines to skip at start of file before reading data. |
nseries |
number of columns of series to expect. |
sep |
field separator. |
na.strings |
charaters that should be treated as NA. |
header |
a logical indicating is a header line should be written. |
digits |
number of significant digits to print. |
... |
additional arguments passed to scan. |
Read and write a file with time series data. By default the file is comma
separated values (csv) with one header line (the series names on write,
ignored on read). The year and period are the first two columns, with series
in following columns.
These are wrappers for scan
and write
.
Beware that short digits settings will result in truncated data.
A time series vector or matrix.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.