admin管理员组文章数量:1421762
I'm trying to convert an object compatible with the forecast package into a Plotly object.
library(fabletools)
library(forecast)
library(plotly)
test_plot<-fdeaths %>%
forecast() %>%
autoplot()
However, it's not working as expected. I'm trying to create an identical plot, but as you can see, it lacks the confidence intervals and the projection for the coming years.
plotly_plot<-ggplotly(test_plot)
plotly_plot
Can anyone help me figure out how to produce the same plot in Plotly?
本文标签: rConverting Forecast Package Plots to PlotlyStack Overflow
版权声明:本文标题:r - Converting Forecast Package Plots to Plotly - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745351754a2654809.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论