MatthieuStigler / tsDyn

tsDyn
tsdyn.googlecode.com
34 stars 20 forks source link

Predict.llar: Error in is.constant(y): 'list' object cannot be coerced to type 'double' #26

Open MatthieuStigler opened 3 years ago

MatthieuStigler commented 3 years ago

Seems like a bug:

library(tsDyn)
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo
packageVersion("tsDyn")
#> [1] '11.0.0'
s <- llar(lynx, m=2)
predict(s)
#> Error in is.constant(y): 'list' object cannot be coerced to type 'double'

Created on 2020-12-05 by the reprex package (v0.3.0)