[R] SDM using BIOMOD2 error message

Matthew Bayly matt.j.bayly at gmail.com
Wed Feb 12 18:19:01 CET 2014


>
> I think it is a problem with your directory setting & changing your 
> directory. 



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...


More information about the R-help mailing list