Create the test fold data for validation
Create the test fold data for validation
createTestDataFold(data, trainData, id = getOption("latrend.id"))
data |
A |
trainData |
A |
id |
The trajectory identifier variable. |
createTrainDataFolds
Other validation methods:
createTestDataFolds()
,
createTrainDataFolds()
,
latrendBoot()
,
latrendCV()
,
lcModel-data-filters
data(latrendData) trainDataList <- createTrainDataFolds(latrendData, id = "Id", folds = 10) testData1 <- createTestDataFold(latrendData, trainDataList[[1]], id = "Id")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.