r-help

 

I'm trying to use the TSstudio library to plot a forecast created from a
Holt Winters model and I get the following error: 

 

Error in `[<-`(`*tmp*`, n + 1, , value = data.frame(x = tmp[["x"]][n],  : 

  subscript out of bounds

 

So looking through the package documentation I tried the package's example

 

data(USgas)
library(forecast)
fit <- ets(USgas)
fc<- forecast(fit, h = 60)
plot_forecast(fc)

 

and get the same error

 

Error in `[<-`(`*tmp*`, n + 1, , value = data.frame(x = tmp[["x"]][n],  : 

  subscript out of bounds

 

So I am at a loss to figure out my error when the example gives me the same
error.

 

Sincerely

 

Jeff Reichman

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to