cvfolds0 {ROCSI}R Documentation

cvfolds0

Description

internal function for generating CV fold index

Usage

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

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

Value

a vector containing CV fold index for each row in Z

Examples

# no run

[Package ROCSI version 0.1.0 Index]