Description Usage Arguments Details Value
This function takes an input path, reads the file with read.csv
,
and creates a zoo
object with the specified time sequence.
1 | .DataInput(inputfile, start = 1992, end = 2016, freq = 1, transf = NULL)
|
inputfile |
a character string indicating the path of the file to be read. |
start |
the start date. Should be inserted as in |
end |
the end date. |
freq |
the frequency for the time interval. |
transf |
an optional transformation to be given to the data before creating the zoo object. |
The function only accepts data with either numeric, logical, or integer values. It also adds an extra column "i0" to be used for constructing the model intercepts. If there are more end years than data, the function pads the additional rows with NA's. This interface is called by the forecasting functions when creating the Bayesian samples.
a zoo object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.