## Not run:
# ecospat.migclim()
# ### Some example data files can be downloaded from the following web page:
# ### http://www.unil.ch/ecospat/page89413.html
# ###
# ### Run the example as follows (set the current working directory to the
# ### folder where the example data files are located):
# ###
# data(MigClim.testData)
# ### Run MigClim with a data frame type input.
# n <- MigClim.migrate (iniDist=MigClim.testData[,1:3],
# hsMap=MigClim.testData[,4:8], rcThreshold=500,
# envChgSteps=5, dispSteps=5, dispKernel=c(1.0,0.4,0.16,0.06,0.03),
# barrier=MigClim.testData[,9], barrierType="strong",
# iniMatAge=1, propaguleProd=c(0.01,0.08,0.5,0.92),
# lddFreq=0.1, lddMinDist=6, lddMaxDist=15,
# simulName="MigClimTest", replicateNb=1, overWrite=TRUE,
# testMode=FALSE, fullOutput=FALSE, keepTempFiles=FALSE)## End(Not run)
Run the code above in your browser using DataCamp Workspace