preparePermutations: Prepare Permutation and Subsetting Matrices

Description Usage Arguments Value Author(s)

View source: R/OrderedList.R

Description

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

Usage

1
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


OrderedList documentation built on Nov. 8, 2020, 5:41 p.m.