You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use SDMtune::predict() to extract predictors over the entire extent of the environmental rasters, the following error is produced: Error in find_dims(object, model, nc, fun, const, na.rm, index, ...) :
could not find function "find_dims"
Calculating predictions for the pres/abs locations using the swd object as opposed to the predictors object works fine.
Hi @sgvignali, I also had the same error, simply following the code shown in the vignettes, but with my own data, both using ANN and RF as methods.
This is the code which produces the error, I tryed using ext (the extent of my predictors) to solve it but nothing change:
map_rf <- predict(final_model_rf,
data = EnvVars,
ext = extvars)
All other analysis performed well, only when producing the prediction map it comes this problem.
This is my sessionInfo:
Describe the bug
When trying to use SDMtune::predict() to extract predictors over the entire extent of the environmental rasters, the following error is produced: Error in find_dims(object, model, nc, fun, const, na.rm, index, ...) :
could not find function "find_dims"
Calculating predictions for the pres/abs locations using the swd object as opposed to the predictors object works fine.
Steps to reproduce the bug
Session information
Additional information
No response
Reproducible example
The text was updated successfully, but these errors were encountered: