Learn R Programming

tsfgrnn (version 1.0.5)

grnn_examples: Examples of a GRNN model

Description

It shows the examples of the model associated to a grnnForecast object.

Usage

grnn_examples(forecast)

Value

A matrix including the features and targets of the examples associated with the model of a grnnForecast object.

Arguments

forecast

A grnnForecast object.

Examples

Run this code
pred <- grnn_forecasting(ts(1:8), h = 1, lags = 1:2)
grnn_examples(pred)

Run the code above in your browser using DataLab