enmeval error

185 views
Skip to first unread message

Kerim ÇİÇEK

unread,
Dec 9, 2022, 1:23:38 PM12/9/22
to Maxent
Dear all,
When I run any ENMevaluate function, I got the error below " 1%Error in data.frame(auc.train = auc.train, cbi.train = cbi.train) :  arguments imply differing number of rows: 1, 0".  I have already used the codes for other projects. Layers and occurrence records well-performed in the maxent jar file. What am I missing? Thank you in advance. 
Best greets, Kerim


> enmeval_rcv10 <- ENMevaluate(occs = occs, envs = envs, algorithm = 'maxnet', bg = bg,
+                              partition.settings = list(kfolds=10), partitions = 'randomkfold',
+                              tune.args = tune.args)
*** Running initial checks... ***

* Removed 102 occurrence points with NA predictor variable values.
* Clamping predictor variable rasters...
* Model evaluations with random 10-fold cross validation...

*** Running ENMeval v2.0.0 with maxnet from maxnet package v0.1.4 ***

  |=                                                                                               |   1%Error in data.frame(auc.train = auc.train, cbi.train = cbi.train) :
  arguments imply differing number of rows: 1, 0


Jamie M. Kass

unread,
Apr 16, 2023, 4:28:24 PM4/16/23
to Maxent
Sorry for the late reply, but I'd need to see how you input the other data. Hopefully though this was resolved in more recent versions of ENMeval.

Jamie
Reply all
Reply to author
Forward
0 new messages