SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Modelling distribution with 1 raster variable only [ Reply ]
By: Maya Guéguen on 2022-02-24 15:41
[forum:49335]
Hi Luis,

I'm currently finishing cleaning the biomod2 package to release a new version, with quite some changes, especially at the function and parameter names level.
This might be why you are getting this error.

You can install and test this new version that will be released soon with the following commands :

library(devtools)
install_github("biomodhub/biomod2", ref = "devel_cleaning")


Please, be aware that this will imply for you to modify some parts of your code to match the new parameter names. Sorry for this inconvenience

Maya

RE: Modelling distribution with 1 raster variable only [ Reply ]
By: Luís Santiago on 2022-02-21 13:09
[forum:49329]

error.JPG (4) downloads
Hi Maya,

I have done that but I am encountering some errors during the modelling step.

I am using, for instance, NDVI, which is a continuous variable that I converted into a rasterstack object:

raster::stack(NDVI2010)

I am using ANN, GBM, RF and Maxent.

RF and ANN seem to work fine, but, as you'll see in the screenshot attached, GBM and Maxent do not.

Please let me know if you need more information.

RE: Modelling distribution with 1 raster variable only [ Reply ]
By: Maya Guéguen on 2022-02-21 10:06
[forum:49328]
Hi Luis,

No problem with that, you should just transform your RasterLayer into a RasterStack object with the stack function before.

Maya

Modelling distribution with 1 raster variable only [ Reply ]
By: Luís Santiago on 2022-02-19 14:43
[forum:49326]
Hi,

In BIOMOD_FormatingData(), the expl.var argument requires a rasterstack object. This means that a minimum of 2 Rasters is required for modeling a species distribution. What if I only want to use 1 raster variable?

Thanks.

Cheers,
Luis

Thanks to:
Vienna University of Economics and Business Powered By FusionForge