Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

createTestDataFolds

Create all k test folds from the training data


Description

Create all k test folds from the training data

Usage

createTestDataFolds(data, trainDataList, ...)

Arguments

data

A data.frame representing the complete dataset.

trainDataList

A list of data.frame representing each of the data training folds. These should be derived from data.

...

Arguments passed to createTestDataFold.

See Also

Examples

data(latrendData)
trainDataList <- createTrainDataFolds(latrendData, folds = 10, id = "Id")
testDataList <- createTestDataFolds(latrendData, trainDataList)

latrend

A Framework for Clustering Longitudinal Data

v1.1.2
GPL (>= 2)
Authors
Niek Den Teuling [aut, cre] (<https://orcid.org/0000-0003-1026-5080>), Steffen Pauws [ctb], Edwin van den Heuvel [ctb], Copyright © 2021 Koninklijke Philips N.V. [cph]
Initial release
2021-04-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.