Learn R Programming

matman (version 1.1.4)

Forecast-class: Class Forecast

Description

This S4 class represents the result of forecast using function predictValue.

Arguments

Slots

data

(data.frame) Data frame including the predicted data and optionally the training data.

models

(list) List of fitted ARIMA models.

value

(character) Name of the value column.

item

(character) Name of the item column.

items

(character) IDs or Names of the items.

Objects from the Class

Objects can be created by calling the function predictValue. This S4 class represents the result of a forecast.

Author

Leon Binder leon.binder@th-deg.de

Bernhard Bauer bernhard.bauer@th-deg.de

Michael Scholz michael.scholz@th-deg.de

Examples

Run this code
data("Amount")
prediction = predictValue(data = Amount,
    value = "amount",
    item = "item",
    timestamp = "date",
    temporalAggregation = "week",
    timeUnitsAhead = 3)
prediction

Run the code above in your browser using DataLab