Learn R Programming

IntLIM (version 2.0.2)

CreateCrossValFolds: Creates multiple cross-validation folds from the data. Format is a list of IntLIMData training and testing pairs. The "training" slot contains all data except that in the given fold, and the "testing" contains all data in the fold.

Description

Creates multiple cross-validation folds from the data. Format is a list of IntLIMData training and testing pairs. The "training" slot contains all data except that in the given fold, and the "testing" contains all data in the fold.

Usage

CreateCrossValFolds(inputData, folds)

Value

A set of IntLimData training and testing sets, of the following format: list(list("train" = IntLimData, "test" = IntLimData), ... list("train" = IntLimData, "test" = IntLimData))

List of IntLimModel objects with model results

Arguments

inputData

IntLimData object (output of ReadData()) with analylte levels and associated meta-data

folds

number of folds to create