getCvFoldIds: Return a matrix of fold assignments for use in...

Description Usage Arguments Value

View source: R/getCvFoldIds.R

Description

Return a matrix of fold assignments for use in cross-validation.

Usage

1
getCvFoldIds(nObs, nFolds = 10, nRepeats = 10)

Arguments

nObs

The number of observations in the data set.

nFolds

The number of folds used in cross-validation.

nRepeats

The number of cross-validation repeats (with different fold assignments).

id

a optional string identifier for the EN run

Value

An nObs x nReplicates matrix with integer fold identifiers along the columns.


CBIIT/rcellminerElasticNet documentation built on Sept. 8, 2020, 6:21 p.m.