Skip to content
Prev 336555 / 398502 Next

SDM using BIOMOD2 error message

When you make your enviro stack you set your directory to: 
setwd("V:/BIOCLIM") 

Then when you import your species coordinates and presence/absence status 
you change your directory to:
setwd("C:/Users/Lindsie/Documents/R") 

Then you try to run your model & R says " 'pred' is missing" ~ because it 
cannot find your raster stacks. 

CHANGE YOUR  R DIRECTORY BACK TO WHERE YOU STORED YOUR ENVIRONMENTAL LAYERS 
PRIOR TO RUNNING THE MODEL!!!!!
myBiomodModelOut <- BIOMOD_Modeling(myBiomodDa...