[R] Variable Length Differ

2014-11-02 Thread TJUN KIAT TEO
This is my code BSUPred-(forecast(BSU,h=h)[[2]]) PressurePred-(forecast(Pressure,h=h)[[2]]) Placer-(rep(1,h)) test-as.data.frame(cbind(BSUPred,PressurePred)) test$Placer-rep(1:2,h/12) test$Placer-i test-as.data.frame((test[c(Placer,BSUPred,PressurePred)]))

Re: [R] Variable Length Differ

2014-11-02 Thread Jeff Newmiller
This is not reproducible (see for example [1]), so it is very difficult to know exactly what the problem is. Also, you need to post on this list using the plain text format option in your email software, since the HTML format you used can mess up your code. I can say that using [ indexing on a