Learn R Programming

matman (version 1.1.3)

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.

Examples

Run this code
# NOT RUN {
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