Hi,

I am running maxent through dismo. I'm using "replicates=5" as an argument which, if I understand correctly, is one way of doing k-fold cross validation with k=5.

example:

me<-maxent(rasters,localities, args=c("-J","-P", "replicates=5","writebackgroundpredictions"), path="/Users/self/Desktop")


# I want to see the list of presence data used for any given replicate

j<-slot(me,'models')

k<-j[[1]] # I think now model 1 of class MaxEnt gets stored as k
slot(k,'presence')


But are these all the locality data or the "training" data for the replicate? (I seem to get similar lists when I call presences from any of the models).  I'm wondering if there is a way to call the "test" data (e.g. the held-out data) from a given fold after running the model? I know I can manually do the cross-validation and get this info but it would be great if I could save some code and just use the "replicates" option.

Hope someone can help! Thanks in advance!
	[[alternative HTML version deleted]]

