Skip to content

Error in if (is.na(beta)) {: argument is of length zero #4

@temp1132

Description

@temp1132

When using a monthly data from 2016 to 2018 and forcing the model to be "ZAA", the following error occurs.

mapa(test, model="ZAA")
Error in if (is.na(beta)) { : argument is of length zero

I understand that it might mean that there's no beta/trend detected, but ETS(test, model="ZAA") alone is able to produce something. There must be a way to fix this error.

Looking forward to your update. Thanks.

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