CreateCrossValFolds: Creates multiple cross-validation folds from the data. Format...

View source: R/crossvalfunctions.R

CreateCrossValFoldsR Documentation

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)

Arguments

inputData

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

folds

number of folds to create

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


IntLIM documentation built on Aug. 22, 2022, 5:05 p.m.