Description Usage Arguments Value Examples

R command to setup the training and forecasting data for deep learning.

1 |

`x` |
T by k data matrix: T data points in rows and k time series in columns. |

`forerate` |
Fraction of sample size to form the forecasting (or testing) sample. |

`locY` |
Locator for the dependent variable. |

`lag` |
Number of lags to be used to form predictors. |

A list containing:

Xtrain - Standardized predictors matrix.

Ytrain - Dependent variable in training sample.

Xtest - Predictor in testing sample, standardized according to X_train.

Ytest - Dependent variable in the testing sample.

nfore - Number of forecasts.

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.