我目前正在尝试在运行 maxent 之前制作一个 biosfile,但一直面临这个错误:我想知道是否有人以前遇到过这个问题并修复了它?
bg <- xyFromCell(dens.ras2speciesocc,
sample(which(!is.na(values(subset(env, 1)))), 10000,
prob=values(dens.ras2speciesocc)[!is.na(values(subset(env, 1)))])) -- this runs fine and then:
enmeval_resultsspeciesocc <- ENMevaluate(speciesocc, env,
method= "randomkfold", kfolds = 10, algorithm='maxent.jar', bg.coords = bg)
返回此错误:
'Error in ENMevaluate(speciesocc, env, method = "randomkfold", kfolds = 10, :
unused argument (kfolds = 10)'
有人有什么主意吗?