babaknaimi / sdm

sdm is an extensible framework to develop species distributions models using individual and community-based approaches, generate ensembles of models, evaluate the models, and predict species potential distributions in space and time.
21 stars 5 forks source link

Error with 'entropy' method for sdm::ensemble() #21

Open olehprylutskyi opened 1 year ago

olehprylutskyi commented 1 year ago

Ensemble modeling with method = 'entropy' / method = 'uncertainty' returns an error, regardless of chosen modeling methods:

Error in if (any(x == 0)) { : missing value where TRUE/FALSE needed

Data are presence-background, all points overlaid NA pixels removed on previous steps.

sessionInfo() R version 4.2.3 (2023-03-15) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: Fedora Linux 37 (Workstation Edition)