subsetSubjestsDS: Subset subjects given index

View source: R/subsetSubjestsDS.R

subsetSubjestsDSR Documentation

Subset subjects given index

Description

Subset subjects for cross-validation

Usage

subsetSubjestsDS(symbol, idx)

Arguments

symbol

The name of the design matrix

idx

The index of the selected subjects

Details

In the k-fold in-site cross-validation, the sample in each server was randomly divided into k fold. The idx was to subset the design matrix into the training or test sample in each of k fold cross-validation

Value

The subset of the design matrix

Author(s)

Han Cao


transbioZI/dsMTLBase documentation built on Jan. 20, 2025, 8:18 p.m.