-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in apply(y, 1L, rank) : dim(X) must have a positive length #4
Comments
When you say it is not populated, do you mean it has NAs? |
I'm getting the same error, but I don't know if it's for the same reason. Here's my time series:
It seems to work fine for this time series:
There isn't anything outstandingly irregular about the first time series, is there? Sorry, I'm new to this. Let me know if there's any more info I can offer to help, or if I'm using it wrong. |
I had the same problem. I tried everything, but I think it is a faulty implementation of the mlp() and elm() functions when they use msts. When using a normal ts, I can specify 'start' as c(yyyy,dd), but when I tried the same for msts, I got this error. When I switched to year only (start=1996) I got no more error. Please look into this! |
It seems that if your ts object doesn't populated at the very beginning of your time, the error
Error in apply(y, 1L, rank) : dim(X) must have a positive length
will be thrown.like this:
The text was updated successfully, but these errors were encountered: