preparePermutations {OrderedList}R Documentation

Prepare Permutation and Subsetting Matrices

Description

For a dataset specified with matrix and class labels, draws permutations and subsets.

Usage

preparePermutations(ids, paired, B, sample.ratio = 0.8)

Arguments

ids class labels
paired logical, whether samples in classes are paired.
B number of permutations and subsets to be drawn.
sample.ratio how many of the samples in a class are to be subsampled.

Value

Returns a list with the following items:

yperm the matrix of permutations.
ysubs the matrix of subsamplings.

Author(s)

Claudio Lottaz


[Package OrderedList version 1.4.0 Index]