Learn R Programming

survJamda (version 1.1.4)

det.set.ind: Determine the indices of the training or testing set.

Description

Determine the indices of the training or testing set.

Usage

det.set.ind(geno.files,train, i)

Arguments

geno.files
A vector of character containing the names of gene expression data files.
train
Integer variable specifying whether the returned indices are for the training set or testing set (1 or 0).
i
Integer variable specifying the indices of the file in geno.files.

Value

A vector containing the indices of the required set.