Create all k test folds from the training data
createTestDataFolds(data, trainDataList, ...)
A data.frame
representing the complete dataset.
A list
of data.frame
representing each of the data training folds. These should be derived from data
.
Arguments passed to createTestDataFold.
Other validation methods:
createTestDataFold()
,
createTrainDataFolds()
,
latrendBoot()
,
latrendCV()
,
lcModel-data-filters
data(latrendData)
if (require("caret")) {
trainDataList <- createTrainDataFolds(latrendData, folds = 10, id = "Id")
testDataList <- createTestDataFolds(latrendData, trainDataList)
}