Skip to content

predict function issue #22

@pablohs27

Description

@pablohs27

Hi, I am trying to run the predict function following the same steps as in the exercise but I get the following error:

predicted <- predict(sdm.model,
envs.tars %>% sf::st_crop(bb),
clamp = clamp, type = type)

Error in [.stars(newdata, , v) :
selecting using invalid value label(s)?

Everything else I managed to replicate without problem. But I have not been able to solve this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions