train
functiontrainControl(method = "boot",
number = ifelse(method %in% c("cv", "repeatedcv"), 10, 25),
repeats = ifelse(method %in% c("cv", "repeatedcv"), 1, number),
verboseIter = FALSE,
returnData = TRUE,
returnResamp = "final",
p = 0.75,
classProbs = FALSE,
summaryFunction = defaultSummary,
selectionFunction = "best",
custom = NULL,
preProcOptions = list(thresh = 0.95, ICAcomp = 3, k = 5),
index = NULL,
timingSamps = 0,
predictionBounds = rep(FALSE, 2))
custom
argument: