earowang/hts

`tdfp` gives a warning when `h = 1`

Closed this issue · 0 comments

library(hts)
#> Loading required package: forecast
#> Loading required package: SparseM
#> 
#> Attaching package: 'SparseM'
#> The following object is masked from 'package:base':
#> 
#>     backsolve
#> Loading required package: Matrix
#> Loading required package: matrixcalc
forecast(htseg1, fmethod = "arima", method = "tdfp", h = 1)
#> Warning in flist[[2L]]/new.flist[[1L]]: Recycling array of length 1 in vector-array arithmetic is deprecated.
#>   Use c() or as.vector() instead.
#> Hierarchical Time Series 
#> 3 Levels 
#> Number of nodes at each level: 1 2 5 
#> Total number of series: 8 
#> Number of observations in each historical series: 10 
#> Number of forecasts per series: 1 
#> Top level series of forecasts: 
#> Time Series:
#> Start = 2002 
#> End = 2002 
#> Frequency = 1 
#> [1] 53.71128