Learn R Programming

ROCSI (version 0.1.0)

cvfolds0: cvfolds0

Description

internal function for generating CV fold index

Usage

cvfolds0(X, Y, idx, nfolds = 5)

Value

a vector containing CV fold index for each row in Z

Arguments

X

marker matrix for non-responders

Y

marker matrix for responders

idx

m*n by 2 matrix for row index of marker matrix, first column is row index in X; second column is for Y

nfolds

the cross-validation folds

Details

Function for generate CV fold index

Examples

Run this code
# no run

Run the code above in your browser using DataLab