Displaying 1 result from an estimated 1 matches for "check_results_forecasting".
2009 Apr 07
1
extract values from summary
Hi:
# How can I extract the 'Forecasts' from the 'summary(predicted)' from the example below?
library(forecast)
weightData <- data.frame(weight = c(2.1,2.4,2.8,3.6,4.1,5.2,6.3),week= 1:7)
weight <- as.numeric(weightData$weight)
predicted <- forecast(weight,h=3,level=95) # see the predicted
summary(predicted)
# I would like to extract the three predicted values and
#