Runs a repeated cross validation for a function.
See also cv()
.
rcv(x, y, nfolds = 5, nrepcv = 2, FUN, ...)
matrix
/data.frame
, feature matrix, see ranger()
for
details.
numeric
/factor
, classification labels, see ranger()
for
details.
integer(1)
number of cross validation folds.
integer(1)
number of repeats.
function
function to optimize.
further arguments passed to FUN
.
double(5)
, minimal, 25 % quartiel, median, 75 % quartile and
maximal results across the repeated cross validations.