Closed jnuvenus closed 5 years ago
Hello, I already have forcast data, when I use combinef to revise the forcast, return this error. The input format is the same as the example of function combinef(). What cause this error?
as.matrix(dat) Time Series: Start = 1 End = 2 Frequency = 1 Total yCN01 yCN02 y755Y y023Y y010A y755AC y755AG y023Y00001 y010AAC 1 120 90 20 41 55 15 19 20 55 10 2 201 139 89 61 87 100 29 55 87 115 gtnode $level 0 [1] 2
level 0
$level 1 [1] 3 1
level 1
$level 2 [1] 2 1 1
level 2
com <- combinef(fcasts=as.matrix(dat), nodes=gtnode, weights = NULL, keep = "all", algorithms = "lu") Error in rowsum.default(repcount, rep(1L:nlist[i], xlist[[i]])) : incorrect length for 'group'
Hello, I already have forcast data, when I use combinef to revise the forcast, return this error. The input format is the same as the example of function combinef(). What cause this error?
$
level 1
[1] 3 1$
level 2
[1] 2 1 1