I have this ts:
Point Forecast Lo 80 Hi 80 Lo 95 Hi 95
2015.173 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.192 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.212 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.231 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.250 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.269 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.288 1.657143 0.06698996 3.247296 -0.7747861 4.089072
2015.308 1.657143 0.06698996 3.247296 -0.7747861 4.089072
How can I convert it in ts, I am using:
fct <- data.frame(date=as.Date(index(fca)), Y = melt(fca))
But I get this error:
Error in data.frame(date = as.Date(index(fca)), Y = melt(fca)) :
arguments imply differing number of rows: 10, 16
Someone know how to fix it?