Skip to content
Prev 6422 / 29559 Next

Producing ENFA derived suitability maps with adehabitat

Dear Alexandre,

I think that this should be doable.

Once you run the ENFA to estimate the habitat model, copy the values of new rasters (future habitat)
and replace the original values in the "" object. Then simply re-run the predict.enfa method e.g.:

# prepare the dataset for ENFA:
twi=import.asc("twi.asc"), achan=import.asc("achan.asc"))), bei.sub.pnt at coords)
# run ENFA:
# same area, new environmental conditions:
grad=import.asc("grad_new.asc"), twi=import.asc("twi_new.asc"), achan=import.asc("achan_new.asc"))),
bei.sub.pnt at coords)  # needs to have the same mask!
# copy the model parameters fitted previously:
...something like this (I am not really sure which parameters do you have to copy, but the $tab
data.frame certainly needs to be replaced with new predictors).

Let me know if it works.

cheers,

T. Hengl
http://spatial-analyst.net/wiki/index.php?title=Species_Distribution_Modelling