Run k fold crossvalidation. If presence absence, split presences and absences separately so folds have equally balanced data. Otherwise just sample.
Crossvalidate(.data, k = 5, seed = NULL)
.data
is a list of a data frame and a raster object returned from occurrence modules and covariate modules respectively. .data
is passed automatically in workflow from the occurrence and covariate modules to the process module(s) and should not be passed by the user.set.seed
1.0
2015-11-13
presence-only, presence/absence, abundance, proportion
Other process: AddRandomUniformPredictors
,
BackgroundAndCrossvalid
,
Background
, Bootstrap
,
Clean
, JitterOccurrence
,
MESSMask
, NoProcess
,
OneHundredBackground
,
OneThousandBackground
,
PartitionDisc
,
StandardiseCov
,
TargetGroupBackground
,
Transform
, addInteraction