Description Usage Arguments Details Value Examples
prepare_data
transforms the time series into a usable format for time
series analysis.
1 | prepare_data(flows, stocks, inventory, target)
|
flows |
A list of time series variable (flow variables). |
stocks |
A list of time series variable (stock variables). |
inventory |
Inventory of the corresponding data. |
target |
Defines the target variable. |
The function conducts a normalization by demeaning and dividing by the standard deviation of the individual time series.
A dataframe
1 2 | Xmat <- prepare_data(flows = data$flows, stocks = data$stocks,
inventory, target = target)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.