Maxent ENMeval kfolds

I am currently trying to make a biosfile prior to running maxent but keep getting faced with this error: I wonder if anyone has faced this issue before and fixed it please?

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) #which returns this error:

'Error in ENMevaluate(speciesocc, env, method = "randomkfold", kfolds = 10, : unused argument (kfolds = 10)'

Does anyone have any idea why please? thank you,

Beth

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.