Skip to content

Error in apply(y, 1L, rank) : dim(X) must have a positive length #4

Description

@samyoung0424

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:

testdata <- ts(data = as.vector(mydata$V4), start = c(2016,3), frequency = 12)
fit <- mlp(testdata)
Error in apply(y, 1L, rank) : dim(X) must have a positive length

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions