当我尝试使用R:
运行以下代码时 d.arima=autoplot(vv, ts.colour = ('dodgerblue3'), ts.linetype = 'dashed',
xlab='Date',ylab='Consommation des pdts pétroliers',
main="Evolution de la consommation mensuelle des produits pétroliers")
d.forecast <- forecast(d.arima, level = c(80,95), h = 50)
autoplot(d.forecast)
我收到此错误:
Error in is.constant(y) :
(list) object cannot be coerced to type 'double'
PS:
class(d.arima)
[1] "gg" "ggplot"
有人能帮我解决问题吗?