# NOT RUN {
# Simple Example
data("Amount")
prediction = predictValue(data = Amount,
value = "amount",
item = "item",
timestamp = "date",
temporalAggregation = "week",
timeUnitsAhead = 3)
prediction
# More Sophisticated Example
data("Amount")
prediction = predictValue(data = Amount,
value = "amount",
item = "item",
timestamp = "date",
temporalAggregation = "week",
aggregationFun = mean,
timeUnitsAhead = 5,
digits = 4,
keepPreviousData = TRUE,
level = 0.9,
trace = TRUE)
prediction
# }
Run the code above in your browser using DataLab